From 51d3fb78ad2453e649d01bcc833ecfec1a05d685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 3 Apr 2023 19:01:02 +0200 Subject: refactor: remove "ext/flash" (#18578) With https://github.com/denoland/deno/pull/18568 landed we no longer need "ext/flash". This commit removes "deno_flash" extension completely. This should have some impact on the binary and snapshot size. Closes https://github.com/denoland/deno/issues/17356 --- cli/bench/http/deno_http_flash.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 cli/bench/http/deno_http_flash.js (limited to 'cli/bench/http/deno_http_flash.js') diff --git a/cli/bench/http/deno_http_flash.js b/cli/bench/http/deno_http_flash.js deleted file mode 100644 index a0db62630..000000000 --- a/cli/bench/http/deno_http_flash.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2018-2023 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(handler, { hostname, port, reusePort: true }); -- cgit v1.2.3