Giter VIP home page Giter VIP logo

perfscope's Introduction

NOTE: This repository is an unstable version to be cleaned/refactored.

This is the source tree for PerfScope, a neat tool for analyzing 
given patch's performance impact to existing source repository. 

PerfScope is a research project from the [Opera Research Group](
http://opera.ucsd.edu) in University of California, San Diego. It 
consists of several parts to operate:

- Parser: parses the patch file for information like what file(s) 
    are modified, which location does it lie, etc.
    Located: 
      -- lib/parser/PatchCompiler, Debug+Asserts/bin/patch-c
      -- lib/parser/PatchIRDecoder, library

- Mapper: maps the change location in source file to the 
    corresponding programming constructs.
    Located: 
      -- lib/mapper, library

- Filter: prunes out insignificant changes such as stylish changes 
    or renaming. 
    Located: 
      -- tools/PerfDiff, Debug+Asserts/bin/perfdiff

- Profile Database: contains a list of frequent or expensive functions. 
    White-list functions can also be added to the profile.
    Located: 
      -- data

- Analyzer: performs Performance Risk Analysis (PRA) on given commit.
    Located:
      -- tools/PerfScope, Debug+Asserts/bin/perfscope

- TestDB: tracks performance test cases execution information to 
    further recommend which test case may be useful to uncover the 
    performance regression issues. (work in progress)

Two auxiliary tools:
- ListFiles: list the file names and paths in a given module.
    Located:
      -- tools/ListFiles, Debug+Asserts/lib/LLVMListFiles.so
- StaticProfiler: generate a list of expensive and frequent functions based
    on static analysis.
    Located:
      -- tools/StaticProfiler, Debug+Asserts/bin/staticprofiler

Most of the tools have a separate README in their location and its
usages can be found using -h option.

For bug report or any other suggestion, please contact [email protected].

perfscope's People

Contributors

o-o avatar ryanphuang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.