web-infra-dev / rslib

Create JavaScript libraries in a simple and intuitive way.
https://lib.rsbuild.dev/
MIT License
477 stars 26 forks source link

Benchmark Performance Degradation (2024-11-17) #434

Closed rspack-bot closed 1 week ago

rspack-bot commented 1 week ago

📝 Benchmark detail: Open

case: rslib-node-basic base: https://github.com/web-infra-dev/rslib/commit/d3c1c16 current: https://github.com/web-infra-dev/rslib/commit/75a4ba4

Metric Base Current %
beforeBuildTime 0.72s 0.72s -0.12%
buildEsmJsTime 0.04s 0.04s +26.07%
esmBundleSize 0.83KB 0.83KB 0.00%
esmGzipBundleSize 0.34KB 0.34KB 0.00%
buildEsmTotalTime 1.31s 1.29s -1.31%
buildCjsJsTime 0.05s 0.05s +15.86%
cjsBundleSize 2.39KB 2.39KB 0.00%
cjsGzipBundleSize 0.79KB 0.79KB 0.00%
buildCjsTotalTime 1.31s 1.29s -1.30%
coldInstallTime 14.31s 12.87s -10.03%
hotInstallTime 0.26s 0.26s -0.74%
dependenciesCount 112 112 0.00%
installSize 101.55MB 101.55MB 0.00%

case: rslib-react-basic base: https://github.com/web-infra-dev/rslib/commit/d3c1c16 current: https://github.com/web-infra-dev/rslib/commit/75a4ba4

Metric Base Current %
beforeBuildTime 0.72s 0.72s -0.29%
buildEsmJsTime 0.04s 0.05s +2.54%
esmBundleSize 1.43KB 1.43KB 0.00%
esmGzipBundleSize 0.43KB 0.43KB 0.00%
buildEsmTotalTime 1.45s 1.46s +0.66%
buildCjsJsTime 0.04s 0.06s +41.09%
cjsBundleSize 2.84KB 2.84KB 0.00%
cjsGzipBundleSize 0.84KB 0.84KB 0.00%
buildCjsTotalTime 1.45s 1.46s +0.66%
coldInstallTime 10.29s 12.77s +24.04%
hotInstallTime 0.24s 0.24s +2.55%
dependenciesCount 42 42 0.00%
installSize 77.68MB 77.68MB 0.00%

Threshold exceeded in rslib-react-basic: ["buildCjsJsTime"]