web-infra-dev / modern.js

Modern.js is a web engineering system, including a web framework and a npm package solution.
https://modernjs.dev/en/
MIT License
4.25k stars 351 forks source link

Benchmark Performance Degradation (2024-06-27) #5892

Closed rspack-bot closed 1 week ago

rspack-bot commented 1 week ago

📝 Benchmark detail: Open

case: app-arco-pro-rspack base: https://github.com/web-infra-dev/modern.js/commit/8149769 current: https://github.com/web-infra-dev/modern.js/commit/3755228

Metric Base Current %
devPluginSetupTime 0.02s 0.02s -0.34%
devPrepareTime 0.35s 0.34s -1.72%
beforeDevTime 1.09s 1.09s -0.66%
devColdBootTime 4.75s 4.75s +0.01%
devHotBootTime 4.7s 4.69s -0.13%
buildPluginSetupTime 0.02s 0.02s -1.12%
buildPrepareTime 0.34s 0.34s -0.15%
beforeBuildTime 1.39s 1.38s -0.54%
buildColdBootTime 7.91s 7.86s -0.67%
minifiedBundleSize 5654.63KB 5654.64KB +0.00%
gzippedBundleSize 1469.16KB 1469.21KB +0.00%
buildHotBootTime 7.92s 7.83s -1.16%
coldInstallTime 162.72s 170.54s +4.81%
hotInstallTime 0.49s 0.5s +2.32%
dependenciesCount 1605 1618 +0.81%
installSize 403.77MB 537.79MB +33.19%

Threshold exceeded in app-arco-pro-rspack: ["installSize"]

Timeless0911 commented 1 week ago

https://github.com/web-infra-dev/modern.js/commit/3755228ee00117ab8a9a04179a445702e5788f61 this PR changed the version of @modern-js/app-tools

image

there exists @rsbuild/core@0.7.9 and @rsbuild/core@0.7.10 after install.