summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-10-23 15:02:30 -0700
committerGitHub <noreply@github.com>2018-10-23 15:02:30 -0700
commita4fb5175cecc62573eaf3406154ece2938f45b88 (patch)
treee30de5f2fdb55db0171d681bf0ec7e447b0eca77 /tests
parente9bf2064164df4f5712addca2cd4d18faf3e149a (diff)
Add node_tcp target to http_benchmark. (#1074)
Diffstat (limited to 'tests')
-rw-r--r--tests/http_bench.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/http_bench.ts b/tests/http_bench.ts
index 89d53ad1d..0c7970691 100644
--- a/tests/http_bench.ts
+++ b/tests/http_bench.ts
@@ -1,6 +1,7 @@
// Used for benchmarking Deno's networking. See tools/http_benchmark.py
// TODO Replace this with a real HTTP server once
// https://github.com/denoland/deno/issues/726 is completed.
+// Note: this is a keep-alive server.
import * as deno from "deno";
const addr = deno.args[1] || "127.0.0.1:4500";
const listener = deno.listen("tcp", addr);