diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-12-18 21:09:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-18 21:09:30 -0500 |
commit | aa66ef98ea6144abd2d2714fef1dfc8046e01775 (patch) | |
tree | eec266ba13ca4ee8c2c57095ae9e2867dc254ac5 /tools/benchmark.py | |
parent | 3dbd18af0950400eed7063bef7cb1f7ff27c4a01 (diff) |
travis: Set CARGO_HOME to third_party/rust_crates (#1370)
Adds prebuilt hyperfine and sccache binaries
Only build test_cc for LSAN
Add Cargo.lock
Only run benchmarks in master
Diffstat (limited to 'tools/benchmark.py')
-rwxr-xr-x | tools/benchmark.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/benchmark.py b/tools/benchmark.py index fe71cc88e..9217eceec 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -16,6 +16,7 @@ import tempfile import http_server import throughput_benchmark from http_benchmark import http_benchmark +import prebuilt # The list of the tuples of the benchmark name and arguments exec_time_benchmarks = [ @@ -156,7 +157,9 @@ def main(argv): os.chdir(root_path) import_data_from_gh_pages() - # TODO: Use hyperfine in //third_party + + prebuilt.load_hyperfine() + run([ "hyperfine", "--ignore-failure", "--export-json", benchmark_file, "--warmup", "3" |