web-infra-dev / rsbuild

The Rspack-based build tool. It's fast, out-of-the-box and extensible.
https://rsbuild.dev/
MIT License
959 stars 76 forks source link

Benchmark Performance Degradation (2023-12-26) #1082

Closed rspack-bot closed 6 months ago

rspack-bot commented 6 months ago

📝 Benchmark detail: Open

case: rsbuild-react base: https://github.com/web-infra-dev/rsbuild/commit/733a078 current: https://github.com/web-infra-dev/rsbuild/commit/a2de52b

Metric Base Current %
coldInstallTime 18.78s 31.5s +67.68%
hotInstallTime 0.24s 0.26s +5.36%
dependenciesCount 59 63 +6.78%
installSize 63.76MB 64.43MB +1.06%

Threshold exceeded in rsbuild-react: ["dependenciesCount"]

case: rsbuild-arco-pro base: https://github.com/web-infra-dev/rsbuild/commit/504a659 current: https://github.com/web-infra-dev/rsbuild/commit/a2de52b

Metric Base Current %
beforeDevTime 0.69s 0.68s -0.33%
devColdBootTime 3.88s 3.93s +1.38%
beforeBuildTime 0.64s 0.63s -1.65%
buildColdBootTime 5.05s 4.8s -5.10%
minifiedBundleSize 6647.25KB 6647.36KB +0.00%
gzippedBundleSize 1613.66KB 1613.69KB +0.00%
Timeless0911 commented 6 months ago

image the dependenciesCount has increased, but increased range of installSize is acceptable @chenjiahan cc

chenjiahan commented 6 months ago

Rspack has introduced MF support and added some dependencies, this is as expected, so we can close this issue.