summaryrefslogtreecommitdiff
path: root/tools/benchmark.py
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-02-26 17:36:05 -0500
committerGitHub <noreply@github.com>2019-02-26 17:36:05 -0500
commitb8a537d020f5e4495572daa4d8a59f51fa3b20d1 (patch)
tree468164b8dcc8ce0bcd64e75b63e4a3af0da36f15 /tools/benchmark.py
parent5dfbbbb07a8f484dca27bbe0d7a3bafb0bdb91fd (diff)
deno_core (#1827)
A new low-level crate with focus on speed. This doesn't yet hook into the existing code base.
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)