diff options
| author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-23 17:50:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-23 11:50:45 -0400 |
| commit | dd156e886b0d0f7d67538539bf7f3624b817d80a (patch) | |
| tree | 01022d4993b8590fc7ab78ca9a2e6efe35974fd3 /core/benches | |
| parent | 8074d8bcf3cdcc7e9a08df147e0082798a7c2760 (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.rs | 2 |
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); }"#, ); } |
