summaryrefslogtreecommitdiff
path: root/tools/http_benchmark.py
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-04-17 10:52:36 -0400
committerGitHub <noreply@github.com>2019-04-17 10:52:36 -0400
commitf20b05af24a5e1308e240f2c9af0fa75eefb131f (patch)
treeda30495b135225efc0195ebe3b4f202986211db4 /tools/http_benchmark.py
parent8477daa8b970ae8ef042a5242aee705003b63fc1 (diff)
benchmarks: fix max_memory and clean up (#2137)
Diffstat (limited to 'tools/http_benchmark.py')
-rwxr-xr-xtools/http_benchmark.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py
index bd43a5ec4..7db900a86 100755
--- a/tools/http_benchmark.py
+++ b/tools/http_benchmark.py
@@ -58,10 +58,10 @@ def hyper_http_benchmark(hyper_hello_exe):
return run(hyper_cmd)
-def http_benchmark(deno_exe, hyper_hello_exe, core_http_bench_exe):
-
- # TODO Rename to "deno_tcp"
-
+def http_benchmark(build_dir):
+ hyper_hello_exe = os.path.join(build_dir, "hyper_hello")
+ core_http_bench_exe = os.path.join(build_dir, "deno_core_http_bench")
+ deno_exe = os.path.join(build_dir, "deno")
return {
"deno": deno_http_benchmark(deno_exe),
"deno_net_http": deno_net_http_benchmark(deno_exe),