fix: add space for DOCUMENT_CURRENT_SCRIPT template by TrickyPi · Pull Request #5624 · rollup/rollup (original) (raw)
Performance report!
Rough benchmark
| Command | Mean [s] | Min [s] | Max [s] | Relative |
|---|---|---|---|---|
| node _benchmark/previous/bin/rollup -i ./perf/entry.js -o _benchmark/result/previous.js | 9.306 ± 0.051 | 9.247 | 9.337 | 1.00 |
| node _benchmark/current/bin/rollup -i ./perf/entry.js -o _benchmark/result/current.js | 9.331 ± 0.021 | 9.308 | 9.350 | 1.00 ± 0.01 |
Internal benchmark
- BUILD: 8242ms, 748 MB
- initialize: 0ms, 26 MB
- generate module graph: 3134ms, 574 MB
* generate ast: 1493ms, 567 MB - sort and bind modules: 449ms, 619 MB
- mark included statements: 4655ms, 748 MB
* treeshaking pass 1: 1576ms, 715 MB
* treeshaking pass 2: 758ms, 742 MB
* treeshaking pass 3: 298ms, 745 MB
* treeshaking pass 4: 276ms, 752 MB
* treeshaking pass 5: 322ms, 747 MB
* treeshaking pass 6: 264ms, 752 MB
* treeshaking pass 7: 249ms, 758 MB
* treeshaking pass 8: 238ms, 756 MB
* treeshaking pass 9: 218ms, 754 MB
* treeshaking pass 10: 220ms, 752 MB
* treeshaking pass 11: 217ms, 748 MB
- GENERATE: 918ms, 1.02 GB
- initialize render: 0ms, 914 MB
- generate chunks: 92ms, 918 MB
* optimize chunks: 0ms, 918 MB - render chunks: 800ms, 1 GB
- transform chunks: 22ms, 1.02 GB
- generate bundle: 0ms, 1.02 GB