summaryrefslogtreecommitdiff
path: root/core/benches
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-04-23 17:50:45 +0200
committerGitHub <noreply@github.com>2021-04-23 11:50:45 -0400
commitdd156e886b0d0f7d67538539bf7f3624b817d80a (patch)
tree01022d4993b8590fc7ab78ca9a2e6efe35974fd3 /core/benches
parent8074d8bcf3cdcc7e9a08df147e0082798a7c2760 (diff)
refactor(core): rename send() to opcall() (#10307)
I think it's a better fit since recv() was killed and opcall <> syscall (send/recv was too reminiscent of request/response and custom payloads)
Diffstat (limited to 'core/benches')
-rw-r--r--core/benches/op_baseline.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/benches/op_baseline.rs b/core/benches/op_baseline.rs
index 04b72959c..a7f3bda1d 100644
--- a/core/benches/op_baseline.rs
+++ b/core/benches/op_baseline.rs
@@ -81,7 +81,7 @@ fn bench_op_nop(b: &mut Bencher) {
bench_runtime_js(
b,
r#"for(let i=0; i < 1e3; i++) {
- Deno.core.dispatchByName("nop", null, null, null);
+ Deno.core.opSync("nop", null, null, null);
}"#,
);
}