web-infra-dev / rspress

🦀💨 A fast Rspack-based static site generator.
https://rspress.dev
MIT License
1.19k stars 107 forks source link

Benchmark Performance Degradation (2024-05-28) #1125

Closed rspack-bot closed 1 month ago

rspack-bot commented 1 month ago

📝 Benchmark detail: Open

case: rspress-website base: https://github.com/web-infra-dev/rspress/commit/082491f current: https://github.com/web-infra-dev/rspress/commit/ec951a7

Metric Base Current %
beforeDevTime 0.85s 0.87s +2.53%
routeGenerateTime 0.03s 0.03s +0.32%
devColdBootTime 1.84s 1.81s -1.47%
initialJsSize 573.71KB 569.76KB -0.69%
gzipInitialJsSize 173.31KB 172.82KB -0.28%
buildColdBootTime 1.18s 1.05s -10.87%
beforeBuildTime 0.85s 0.87s +2.87%
minifiedBundleSize 6031.3KB 6020.29KB -0.18%
gzippedBundleSize 1053.56KB 1051.97KB -0.15%
coldInstallTime 57.51s 64.11s +11.48%
hotInstallTime 0.35s 0.35s +0.55%
dependenciesCount 524 551 +5.15%
installSize 196.02MB 216.89MB +10.65%

Threshold exceeded in rspress-website: ["installSize"]

Timeless0911 commented 1 month ago

image

The size of the sass-embed binding package is increased and the package manager will install an extra copy of binding, total is 20MB about.