https://github.com/mischnic/bundler-scalability
https://github.com/mischnic/bundler-scalability
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mischnic/bundler-scalability
- Owner: mischnic
- Created: 2022-10-30T22:11:55.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-30T22:12:01.000Z (about 3 years ago)
- Last Synced: 2025-01-26T07:26:13.213Z (12 months ago)
- Language: JavaScript
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Generates a project with thousands of modules to test scalability of bundlers.
## Usage
```
node generate.js
```
For example:
```
rm -rf src; node generate.js 5 5 Infinity plain
```
To try out Metro, add a `.babelrc` with
```json
{
"presets": [["@babel/preset-env", { "targets": { "chrome": "100" } }]]
}
```
and run `yarn metro serve --reset-cache` and then `time curl -v --silent --output /dev/null localhost:8080/entry-plain.bundle`