This benchmark is used to measure and compare Bazel's performance (elapsed time of builds) between several commits. It requires bazel and git to be installed.
To run the benchmark:
bazel build //src/tools/benchmark/java/com/google/devtools/build/benchmark:benchmark
<name>.json
into the directory src/tools/benchmark/webapp/data
.<name>.json
into the file src/tools/benchmark/webapp/file_list
./index.html
.python -m SimpleHTTPServer
(Python 2) or python3 -m http.server
(Python 3).A hosted version of the benchmark that is kept up to date by our CI system is available here: https://perf.bazel.build/.