Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luhc228/rollup-benchmark-with-v3-and-v4
https://github.com/luhc228/rollup-benchmark-with-v3-and-v4
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/luhc228/rollup-benchmark-with-v3-and-v4
- Owner: luhc228
- Created: 2023-10-07T11:31:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-07T11:40:24.000Z (about 1 year ago)
- Last Synced: 2023-10-07T12:29:00.247Z (about 1 year ago)
- Language: Makefile
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rollup Benchmark Between Rollup v3 and v4
## Benchmark Demo
Duplicating the [three.js](https://github.com/mrdoob/three.js) library 10 times and building a single bundle from scratch, without any caches. (A Reference by [esbuild](https://github.com/evanw/esbuild/blob/main/Makefile))
## Benchmark Results
My test environment:
- CPU: Apple M1
- Memory: 16GB
- macOS: 13.0.1| Bundler | Time |
| -------- | ----- |
| Rollup 3 | 22.63 |
| Rollup 4 | 24.25 |Sometime v3 is faster than v4, and sometime v4 is almost as fast as v3.
## How to run the benchmark?
Run the following command:
```
$ make bench-three
```