Skip to content

Tango992/bench-js-fs-cp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bench-js-fs-cp

Simple benchmark for fs.cpSync and fs.promises.cp on a deep tree with symlinks.

Install dependencies

npm install

Run benchmark

Pass sync or async as the first argument to select the variant. Defaults to sync when no argument (or an invalid one) is provided.

Node.js

node --expose-gc index.js         # sync (default)
node --expose-gc index.js sync
node --expose-gc index.js async

Bun

bun run index.js         # sync (default)
bun run index.js sync
bun run index.js async

Deno

deno run -A --v8-flags="--expose-gc" index.js         # sync (default)
deno run -A --v8-flags="--expose-gc" index.js sync
deno run -A --v8-flags="--expose-gc" index.js async

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors