summaryrefslogtreecommitdiff
path: root/tools/benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/benchmark.py')
-rwxr-xr-xtools/benchmark.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/benchmark.py b/tools/benchmark.py
index c9a3e0243..53037b1e7 100755
--- a/tools/benchmark.py
+++ b/tools/benchmark.py
@@ -204,8 +204,10 @@ def main(argv):
# pipe.
if os.name != 'nt':
hyper_hello_path = os.path.join(build_dir, "hyper_hello")
+ core_http_bench_exe = os.path.join(build_dir, "deno_core_http_bench")
new_data["throughput"] = run_throughput(deno_path)
- new_data["req_per_sec"] = http_benchmark(deno_path, hyper_hello_path)
+ new_data["req_per_sec"] = http_benchmark(deno_path, hyper_hello_path,
+ core_http_bench_exe)
if "linux" in sys.platform:
# Thread count test, only on linux
new_data["thread_count"] = run_thread_count_benchmark(deno_path)