summaryrefslogtreecommitdiff
path: root/cli/bench/http/deno_http_ops.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/bench/http/deno_http_ops.js')
-rw-r--r--cli/bench/http/deno_http_ops.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/http/deno_http_ops.js b/cli/bench/http/deno_http_ops.js
index aac5cea72..f65b32170 100644
--- a/cli/bench/http/deno_http_ops.js
+++ b/cli/bench/http/deno_http_ops.js
@@ -19,7 +19,7 @@ class Http {
}
for await (const conn of tcp) {
- const id = Deno.core.opSync("op_http_start", conn.rid);
+ const id = Deno.core.ops.op_http_start(conn.rid);
const http = new Http(id);
(async () => {
for await (const req of http) {