summaryrefslogtreecommitdiff
path: root/cli/bench
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-04-26 15:09:28 -0400
committerGitHub <noreply@github.com>2023-04-26 19:09:28 +0000
commitc2f5c096925e2fc303f6ea1c36cdba38748c9217 (patch)
treec40967634086cff53e10d887a3ec8ecd5877d560 /cli/bench
parent77e25a656eca0cb1639ae39c515ac6c5f86d2ac9 (diff)
chore: fix benchmarks (#18863)
Diffstat (limited to 'cli/bench')
-rw-r--r--cli/bench/websocket/deno_echo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/websocket/deno_echo.js b/cli/bench/websocket/deno_echo.js
index 70e64dcbe..1cb63eb7f 100644
--- a/cli/bench/websocket/deno_echo.js
+++ b/cli/bench/websocket/deno_echo.js
@@ -22,4 +22,4 @@ function handler(request) {
return response;
}
-serve(handler, { port: parseInt(port), hostname: "0.0.0.0" });
+serve({ port: parseInt(port), hostname: "0.0.0.0" }, handler);