summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/benchmark.py2
-rwxr-xr-xtools/http_benchmark.py9
2 files changed, 8 insertions, 3 deletions
diff --git a/tools/benchmark.py b/tools/benchmark.py
index 031da263b..a921feaf8 100755
--- a/tools/benchmark.py
+++ b/tools/benchmark.py
@@ -213,7 +213,7 @@ def bundle_benchmark(deno_exe):
for name, url in bundles.items():
# bundle
path = name + ".bundle.js"
- run([deno_exe, "bundle", url, path])
+ run([deno_exe, "bundle", "--unstable", url, path])
# get size of bundle
assert os.path.exists(path)
sizes[name] = os.path.getsize(path)
diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py
index fba11ba32..a4576695c 100755
--- a/tools/http_benchmark.py
+++ b/tools/http_benchmark.py
@@ -35,7 +35,11 @@ def get_port(port=None):
def deno_tcp(deno_exe):
port = get_port()
deno_cmd = [
- deno_exe, "run", "--allow-net", "tools/deno_tcp.ts",
+ # TODO(lucacasonato): remove unstable when stabilized
+ deno_exe,
+ "run",
+ "--allow-net",
+ "tools/deno_tcp.ts",
server_addr(port)
]
print "http_benchmark testing DENO tcp."
@@ -45,7 +49,8 @@ def deno_tcp(deno_exe):
def deno_http(deno_exe):
port = get_port()
deno_cmd = [
- deno_exe, "run", "--allow-net", "std/http/http_bench.ts",
+ deno_exe, "run", "--allow-net", "--reload", "--unstable",
+ "std/http/http_bench.ts",
server_addr(port)
]
print "http_benchmark testing DENO using net/http."