https://github.com/aretecode/bundler-benchmarks
benchmark bundlers
https://github.com/aretecode/bundler-benchmarks
benchmark fluent fusebox rollup webpack
Last synced: 10 months ago
JSON representation
benchmark bundlers
- Host: GitHub
- URL: https://github.com/aretecode/bundler-benchmarks
- Owner: aretecode
- Created: 2017-04-29T22:54:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T09:48:34.000Z (over 8 years ago)
- Last Synced: 2025-01-07T22:18:56.759Z (12 months ago)
- Topics: benchmark, fluent, fusebox, rollup, webpack
- Language: JavaScript
- Size: 3.58 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 📦 install
```bash
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](./faker.js)
> 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:
```js
{
string: ['dirname', 'ext', 'es'],
number: ['es', 'iterations'],
default: {
ext: 'js',
es: 5,
iterations: 10,
},
alias: {
dir: 'dirname',
},
})
```
# [typescript](./bench-ts.js)
# [es5](./bench-es5.js)
# [es6](./bench-es6.js)

# [small](./bench-small.js)
# [dynamicrequire](./bench-require-dynamic.js)
# [requires](./bench-require.js)

# [deps](./bench-deps.js)
# [deps-heavy](./bench-depsheavy.js)
> ❗ note for dependencies there needs to be a dll config for a more fair comparison