summaryrefslogtreecommitdiff
path: root/tools/benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/benchmark.py')
-rwxr-xr-xtools/benchmark.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/benchmark.py b/tools/benchmark.py
index 4bdd3b39a..760bad100 100755
--- a/tools/benchmark.py
+++ b/tools/benchmark.py
@@ -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)