diff options
author | 2022-10-13 15:17:36 -0700 | |
---|---|---|
committer | 2022-10-13 15:26:48 -0700 | |
commit | 40506e33e73018103bcf08d3e0087eb915ba472b (patch) | |
tree | 0ad7e98fbc3a10fa20131a4c7708c2f922f24efe | |
parent | b542921f3db7a0439c53883a93187a8fc8f5bdb3 (diff) | |
download | bun-40506e33e73018103bcf08d3e0087eb915ba472b.tar.gz bun-40506e33e73018103bcf08d3e0087eb915ba472b.tar.zst bun-40506e33e73018103bcf08d3e0087eb915ba472b.zip |
Fix bench
-rw-r--r-- | bench/ffi/deno.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/ffi/deno.js b/bench/ffi/deno.js index 1882d7fd2..ae971a344 100644 --- a/bench/ffi/deno.js +++ b/bench/ffi/deno.js @@ -18,7 +18,7 @@ const bytes = new Uint8Array(64); group("deno:ffi", () => { bench("noop", () => ffi_noop()); - bench("hash", () => ffi_hash(bytes, bytes.byteLength)); + bench("hash", () => ffi_hash(Deno.UnsafePointer.of(bytes), bytes.byteLength)); bench("c string", () => new Deno.UnsafePointerView(ffi_string()).getCString() ); |