diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2019-05-14 17:49:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-14 17:49:53 -0400 |
| commit | 592e90c3c27e05e7fa0372fa7f7bbdf8f92f683c (patch) | |
| tree | 623faf042798cb58a1c8ad5a5accbec3a56ff9f2 | |
| parent | 9f877cd34b3e0f4a398b3f0cde8cc677bc7a14a6 (diff) | |
http_bench: print address (denoland/deno_std#374)
Original: https://github.com/denoland/deno_std/commit/f10ea7317e68dd9c1d272e7fff7e9531c301e07c
| -rw-r--r-- | http/http_bench.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/http/http_bench.ts b/http/http_bench.ts index c4d7add0d..6d72d4be6 100644 --- a/http/http_bench.ts +++ b/http/http_bench.ts @@ -7,6 +7,7 @@ const server = serve(addr); const body = new TextEncoder().encode("Hello World"); async function main(): Promise<void> { + console.log(`http://${addr}/`); for await (const request of server) { request.respond({ status: 200, body }); } |
