diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-10-24 22:19:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-24 23:19:58 +0200 |
commit | fd8bf0827104407dca12fa57259a0d32380adcd5 (patch) | |
tree | 2432b0e08fabc050910446d043d93243610b1e1b /cli/bench/http/deno_http_serve.js | |
parent | 09e36d41b007604378525828047085cbaa7b948c (diff) |
bench: remove http benchmarks (#26484)
These benchmarks run on GitHub Actions and are extremely noisy, thus
not providing much value.
Diffstat (limited to 'cli/bench/http/deno_http_serve.js')
-rw-r--r-- | cli/bench/http/deno_http_serve.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cli/bench/http/deno_http_serve.js b/cli/bench/http/deno_http_serve.js deleted file mode 100644 index 639982ce6..000000000 --- a/cli/bench/http/deno_http_serve.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. - -const addr = Deno.args[0] ?? "127.0.0.1:4500"; -const [hostname, port] = addr.split(":"); -const { serve } = Deno; - -function handler() { - return new Response("Hello World"); -} - -serve({ hostname, port: Number(port), reusePort: true }, handler); |