-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
53 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ Contents: | |
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
quickstart | ||
install | ||
tools | ||
benchmarks | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Quick Start | ||
=========== | ||
|
||
Fire up your terminal, and:: | ||
|
||
# Clone the repos | ||
git clone git@github.com:bh107/benchpress.git | ||
|
||
# Enter the root | ||
cd benchpress | ||
|
||
# Source environment vars | ||
source util/setbpenv.bash | ||
|
||
You now have the Benchpress commands, ``bp_run``, ``bp_times``, ``bp_info``, ``bp_compile``, and ``bp_grapher`` ready at your finger-tips along with all the benchmarks and suites. | ||
|
||
Go ahead and run the `numpy_only` suite, executing each benchmark in the suite twice:: | ||
|
||
bp_run --no-perf --no-time --runs 2 --output my_run.json suites/numpy_only.py | ||
|
||
The above will store results from the run in the file `my_run.json`. You can inspect the elapsed wall-clock by executing:: | ||
|
||
bp_times my_run.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters