diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-04 19:34:40 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-04 09:34:40 +0000 |
commit | 31ecc09b5ae38531cb63680cc40b89d01d8635df (patch) | |
tree | d8bdc376168f6ef2a4310dacce5362a590169e2d /cli/bench | |
parent | b333dccee82f4328a65d0c3c45c7aa5c19255220 (diff) |
BREAKING(io): remove `Deno.read[Sync]()` (#25409)
Towards #22079
Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
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); }); } |