Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a benchmarking module to wrench. #969

Merged
merged 1 commit into from Mar 8, 2017
Merged

Commits on Mar 8, 2017

  1. Add a benchmarking module to wrench.

    This adds two new commands to wrench:
    
    perf - This runs all the benchmarks in the benchmarks manifest, and records
    the timing of various profile counters into a JSON file. This is
    very similar to how the reftest code works.
    
    compare_perf - This allows comparing two files output from the perf command above.
    
    There are two new workflows enabled by this change:
    
    (1) Working locally:
     - Run `perf` to get a baseline benchmark.
     - Develop new feature or optimization.
     - Run `perf` to get new results, and use `compare_perf` to compare to baseline.
    
    (2) Automated performance measurement:
     - This is not available yet, but the idea is to upload the results
       of the perf command to a web server, which graphs the results
       over time.
    
    New benchmarks can be added to the benchmarks/ directory, in a similar
    way to adding reftests.
    gw3583 committed Mar 8, 2017
You can’t perform that action at this time.