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
This commit is contained in:
Ryan Dahl 2018-12-18 21:09:30 -05:00 committed by GitHub
parent 3dbd18af09
commit aa66ef98ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 1471 additions and 41 deletions

View file

@ -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"