summaryrefslogtreecommitdiff
path: root/tools/http_benchmark.py
diff options
context:
space:
mode:
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),