summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-05-01 21:57:58 +0200
committerGitHub <noreply@github.com>2023-05-01 19:57:58 +0000
commitecc70eb58fd5531f3b93402cf781e93ef2bb4d64 (patch)
treecde1cc95048b4c054cbb2d306b4bf0ec46cd5461
parent13c16d9cfd2d8ce0dd748cf67ef10cc0b9e7e78f (diff)
bench: fix benchmarks again (#18942)
-rw-r--r--core/examples/http_bench_json_ops/http_bench_json_ops.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/examples/http_bench_json_ops/http_bench_json_ops.js b/core/examples/http_bench_json_ops/http_bench_json_ops.js
index 493574fe7..6cf2a8be2 100644
--- a/core/examples/http_bench_json_ops/http_bench_json_ops.js
+++ b/core/examples/http_bench_json_ops/http_bench_json_ops.js
@@ -5,11 +5,11 @@
// deno-lint-ignore-file camelcase
-const { op_listen } = Deno[Deno.internal].core.ops;
+const { op_listen } = Deno.core.ops;
const {
op_accept,
op_read_socket,
-} = core.generateAsyncOpHandler(
+} = Deno.core.generateAsyncOpHandler(
"op_accept",
"op_read_socket",
);