deno.land / x / deno@v1.28.2 / cli / bench / fs
fs
benchmarksconst copyFileSync = getFunction("copyFileSync");
bench(() => copyFileSync("test", "test2"));
// For functions with side-effects, clean up after `bench` like so:
const removeSync = getFunction("removeSync");
removeSync("test2");
deno run -A --unstable run.mjs
node run.js
deno run --allow-net=127.0.0.1:9000 serve.jsx
# View rendered report at http://127.0.0.1:9000/
Version Info