summaryrefslogtreecommitdiff
path: root/cli/bench/testdata
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-04-26 23:59:32 +0200
committerGitHub <noreply@github.com>2023-04-26 21:59:32 +0000
commit7415aff983333ae45badfd43c3db35d39ad37b79 (patch)
treea6bea2f24ba181b4dcaec0e72345bc5e0057f7a7 /cli/bench/testdata
parent3d8a4d3b81e107bbb152ad69047f64d16ca800f3 (diff)
bench: fix more benchmarks (#18864)
Diffstat (limited to 'cli/bench/testdata')
-rw-r--r--cli/bench/testdata/deno_upgrade_http.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/testdata/deno_upgrade_http.js b/cli/bench/testdata/deno_upgrade_http.js
index ca5533411..a959846ce 100644
--- a/cli/bench/testdata/deno_upgrade_http.js
+++ b/cli/bench/testdata/deno_upgrade_http.js
@@ -9,4 +9,4 @@ async function handler(req) {
await conn.close();
}
-serve(handler, { hostname: "127.0.0.1", port: 9000 });
+serve({ hostname: "127.0.0.1", port: 9000 }, handler);