From fd8bf0827104407dca12fa57259a0d32380adcd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 24 Oct 2024 22:19:58 +0100 Subject: bench: remove http benchmarks (#26484) These benchmarks run on GitHub Actions and are extremely noisy, thus not providing much value. --- cli/bench/http/deno_http_serve.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 cli/bench/http/deno_http_serve.js (limited to 'cli/bench/http/deno_http_serve.js') 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); -- cgit v1.2.3