Skip to content

aretecode/bundler-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 install

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

full cli arg options are:

{
  string: ['dirname', 'ext', 'es'],
  number: ['es', 'iterations'],
  default: {
    ext: 'js',
    es: 5,
    iterations: 10,
  },
  alias: {
    dir: 'dirname',
  },
})

screen shot 2017-04-30 at 12 39 03 am

# [es5](./bench-es5.js) # [es6](./bench-es6.js)

screen shot 2017-04-29 at 3 51 13 am

screen shot 2017-04-30 at 12 28 09 am

❗ note for dependencies there needs to be a dll config for a more fair comparison

screen shot 2017-04-29 at 4 20 27 am