summaryrefslogtreecommitdiff
path: root/tools/http_benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/http_benchmark.py')
-rwxr-xr-xtools/http_benchmark.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py
index 056376128..05cd542e3 100755
--- a/tools/http_benchmark.py
+++ b/tools/http_benchmark.py
@@ -82,9 +82,9 @@ def deno_http_proxy(deno_exe, hyper_hello_exe):
origin_cmd=http_proxy_origin(hyper_hello_exe, origin_port))
-def deno_core_single(exe):
- print "http_benchmark testing deno_core_single"
- return run([exe, "--single-thread"], 4544)
+def deno_core_http_bench(exe):
+ print "http_benchmark testing deno_core_http_bench"
+ return run([exe], 4544)
def node_http():
@@ -132,8 +132,8 @@ def hyper_http(hyper_hello_exe):
def http_benchmark(build_dir):
hyper_hello_exe = os.path.join(build_dir, "hyper_hello")
- core_http_bench_exe = os.path.join(build_dir,
- "examples/deno_core_http_bench")
+ deno_core_http_bench_exe = os.path.join(build_dir,
+ "examples/deno_core_http_bench")
deno_exe = os.path.join(build_dir, "deno")
return {
# "deno_tcp" was once called "deno"
@@ -142,7 +142,8 @@ def http_benchmark(build_dir):
"deno_http": deno_http(deno_exe),
"deno_proxy": deno_http_proxy(deno_exe, hyper_hello_exe),
"deno_proxy_tcp": deno_tcp_proxy(deno_exe, hyper_hello_exe),
- "deno_core_single": deno_core_single(core_http_bench_exe),
+ # "deno_core_http_bench" was once called "deno_core_single"
+ "deno_core_http_bench": deno_core_http_bench(deno_core_http_bench_exe),
# "node_http" was once called "node"
"node_http": node_http(),
"node_proxy": node_http_proxy(hyper_hello_exe),