mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00:00
parent
00e4f7cf83
commit
231bb9cfb6
1 changed files with 5 additions and 1 deletions
|
@ -20,6 +20,7 @@ from http_benchmark import http_benchmark
|
|||
exec_time_benchmarks = [
|
||||
("hello", ["tests/002_hello.ts"]),
|
||||
("relative_import", ["tests/003_relative_import.ts"]),
|
||||
("error_001", ["tests/error_001.ts"]),
|
||||
("cold_hello", ["tests/002_hello.ts", "--recompile"]),
|
||||
("cold_relative_import", ["tests/003_relative_import.ts", "--recompile"]),
|
||||
]
|
||||
|
@ -155,7 +156,10 @@ def main(argv):
|
|||
os.chdir(root_path)
|
||||
import_data_from_gh_pages()
|
||||
# TODO: Use hyperfine in //third_party
|
||||
run(["hyperfine", "--export-json", benchmark_file, "--warmup", "3"] + [
|
||||
run([
|
||||
"hyperfine", "--ignore-failure", "--export-json", benchmark_file,
|
||||
"--warmup", "3"
|
||||
] + [
|
||||
deno_path + " " + " ".join(args) for [_, args] in exec_time_benchmarks
|
||||
])
|
||||
all_data = read_json(all_data_file)
|
||||
|
|
Loading…
Reference in a new issue