File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "version" :1 ,
33 "benchmark_dir" : " ./benchmarks" ,
4- "repo" :" git@github.com:ms2892 /pystack.git" ,
4+ "repo" :" git@github.com:bloomberg /pystack.git" ,
55 "project" : " pystack" ,
6- "project_url" : " https://github.com/ms2892 /pystack" ,
6+ "project_url" : " https://github.com/bloomberg /pystack" ,
77 "env_dir" :" .asv/env" ,
88 "results_dir" :" .asv/results" ,
99 "html_dir" :" .asv/html" ,
Original file line number Diff line number Diff line change 1+ # Using the Benchmarking Tool
2+
3+ One of the prerequisites is to have the respective libraries installed. Hence do install the following libraries
4+
5+ - libdw
6+ - libelf
7+
8+ These can be installed via the command ` apt-get install libdw-dev libelf-dev ` .
9+
10+ To benchmark the packages present another tool is used called ` airspeed velocity ` . To install it please run the follow command
11+
12+ ``` pip install asv ```
13+
14+ In the parent directory run the following command to get a brief benchmark of your current packages
15+
16+ ``` asv run ```
17+
18+ Use the ` -v ` flag to get a verbose output.
19+
20+ To compare the all the commits across all the branches you may make use of the following command.
21+
22+ ``` asv run ALL ```
23+
24+ To run benchmarks from a particular commit or tag you can use the commit hash or the tag
25+
26+ ``` asv run [TAG|HASH]..[branch] ```
27+
28+ To compare between tags
29+
30+ ``` asv show [TAG]..[branch] ```
31+
32+ To have a local server to display all the graphs
33+
34+ ``` asv publish ```
You can’t perform that action at this time.
0 commit comments