diff options
Diffstat (limited to 'cli/bench')
-rw-r--r-- | cli/bench/deno_common.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/bench/deno_common.js b/cli/bench/deno_common.js index ba88c79ca..369333391 100644 --- a/cli/bench/deno_common.js +++ b/cli/bench/deno_common.js @@ -46,8 +46,7 @@ Deno.bench("b64_rt_short", { n: 1e6 }, () => { const buf = new Uint8Array(100); const file = Deno.openSync("/dev/zero"); Deno.bench("read_zero", { n: 5e5 }, () => { - // deno-lint-ignore no-deprecated-deno-api - Deno.readSync(file.rid, buf); + file.readSync(buf); }); } |