diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-04-17 10:52:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-17 10:52:36 -0400 |
commit | f20b05af24a5e1308e240f2c9af0fa75eefb131f (patch) | |
tree | da30495b135225efc0195ebe3b4f202986211db4 /tools/http_benchmark.py | |
parent | 8477daa8b970ae8ef042a5242aee705003b63fc1 (diff) |
benchmarks: fix max_memory and clean up (#2137)
Diffstat (limited to 'tools/http_benchmark.py')
-rwxr-xr-x | tools/http_benchmark.py | 8 |
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), |