git clone [email protected]:aretecode/bundler-benchmarks.git && cd bundler-benchmarks && npm i && node bench
(if you have issues with node_gyp) npm install --no-optional
, if that does not work, npm install --no-optional --force
generates out the test files
just run
node faker --dirname name-of-your-bench
and it generates out src files and bench file
{
string: ['dirname', 'ext', 'es'],
number: ['es', 'iterations'],
default: {
ext: 'js',
es: 5,
iterations: 10,
},
alias: {
dir: 'dirname',
},
})
❗ note for dependencies there needs to be a dll config for a more fair comparison