mirror of
https://github.com/denoland/deno.git
synced 2024-11-04 08:54:20 -05:00
10e4b2e140
Yearly tradition of creating extra noise in git. |
||
---|---|---|
.. | ||
.gitignore | ||
README.md | ||
run.mjs | ||
serve.jsx |
fs
benchmarks
adding new benchmarks
const copyFileSync = getFunction("copyFileSync");
bench(() => copyFileSync("test", "test2"));
// For functions with side-effects, clean up after `bench` like so:
const removeSync = getFunction("removeSync");
removeSync("test2");
running
deno run -A --unstable run.mjs
node run.js
view report
deno run --allow-net=127.0.0.1:9000 serve.jsx
# View rendered report at http://127.0.0.1:9000/