diff options
Diffstat (limited to 'cli/bench/deno_common.js')
-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 b4319c8a3..954b0f631 100644 --- a/cli/bench/deno_common.js +++ b/cli/bench/deno_common.js @@ -39,8 +39,7 @@ Deno.bench("perf_now", { n: 5e5 }, () => { }); Deno.bench("open_file_sync", () => { - const file = Deno.openSync("./cli/bench/testdata/128k.bin"); - file.close(); + using _file = Deno.openSync("./cli/bench/testdata/128k.bin"); }); // A common "language feature", that should be fast |