web-infra-dev / rspress

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

Benchmark Performance Degradation (2024-11-07) #1561

Closed rspack-bot closed 2 weeks ago

rspack-bot commented 2 weeks ago

📝 Benchmark detail: Open

case: rspress-website base: https://github.com/web-infra-dev/rspress/commit/896746e current: https://github.com/web-infra-dev/rspress/commit/91c5530

Metric Base Current %
beforeDevTime 0.8s 0.8s +1.05%
routeGenerateTime 0.02s 0.02s -2.64%
devColdBootTime 1.35s 1.37s +1.48%
initialJsSize 528.36KB 589.05KB +11.49%
gzipInitialJsSize 163.61KB 191.7KB +17.17%
buildColdBootTime 1.33s 1.37s +3.11%
beforeBuildTime 0.8s 0.81s +0.94%
minifiedBundleSize 5972.89KB 6033.58KB +1.02%
gzippedBundleSize 1046.35KB 1074.39KB +2.68%
coldInstallTime 38.53s 44.41s +15.27%
hotInstallTime 0.34s 0.34s +1.07%
dependenciesCount 554 556 +0.36%
installSize 215.35MB 215.49MB +0.06%

Threshold exceeded in rspress-website: ["initialJsSize","gzipInitialJsSize"]

Timeless0911 commented 2 weeks ago

https://www.npmjs.com/package/htmlparser2 https://github.com/web-infra-dev/rspress/pull/1557