OmniSciDB
a5dc49c757
|
benchmarks.py
is a conbench client script for running and publishing benchmarks to a running conbench server.
You don't need to run this manually. It should be taken care of by Jenkins. The below instructions are in case you would like to run the client elsewhere.
pip install conbench
.Run conbench --help
from the directory with the benchmarks.py
script. The output should look something like ``` $ conbench –help Usage: conbench [OPTIONS] COMMAND [ARGS]...
Conbench: Language-independent Continuous Benchmarking (CB) Framework
Options: –help Show this message and exit.
Commands: StringDictionaryBenchmark Google Benchmark list List of benchmarks (for orchestration). version Display Conbench version. ``
file in the same directory with contents:
`` url: http://10.0.0.37:5000/ email: YOUR_EMAIL password: YOUR_PASSWORD ``` You may sign up for an account at http://10.0.0.37:5000/ .StringDictionaryBenchmark
, must be compiled and runnable in the current repository.git show -s --format=H
, is the commit that will be associated with the recorded benchmarks. This commit must be known by github. Do not run conbench
on an unpublished commit, otherwise conbench
will not be able to obtain necessary data on the commit and will result in errors in the reporting.build-$GIT_COMMIT
. It will cd
to its Tests
subdirectory, run the benchmark, capture and parse the output, and report the results to the conbench server.