GitHunt
AR

aretecode/bundler-benchmarks

benchmark bundlers

๐Ÿ“ฆ install

git clone git@github.com: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

faker

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',
  },
})

typescript

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

small

dynamicrequire

requires

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

deps

deps-heavy

โ— 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

Languages

JavaScript89.5%TypeScript10.5%Makefile0.0%

Contributors

Latest Release

v0.0.3May 10, 2017
Created April 30, 2017
Updated July 13, 2019