Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark Performance Degradation (2024-05-07) #5716

Closed
rspack-bot opened this issue May 7, 2024 · 1 comment
Closed

Benchmark Performance Degradation (2024-05-07) #5716

rspack-bot opened this issue May 7, 2024 · 1 comment

Comments

@rspack-bot
Copy link

馃摑 Benchmark detail: Open

case: app-arco-pro-rspack
base: 644a226
current: b57ca76

Metric Base Current %
devPluginSetupTime 0.03s 0.03s -1.11%
devPrepareTime 0.23s 0.41s +77.28%
beforeDevTime 0.89s 1.18s +32.98%
devColdBootTime 4.47s 4.38s -2.04%
devHotBootTime 4.55s 4.38s -3.72%
buildPluginSetupTime 0.03s 0.03s -1.05%
buildPrepareTime 0.23s 0.41s +78.34%
beforeBuildTime 1.27s 1.52s +19.86%
buildColdBootTime 8.21s 9.13s +11.12%
minifiedBundleSize 5695.61KB 5695.69KB +0.00%
gzippedBundleSize 1470.93KB 1466.6KB -0.29%
buildHotBootTime 8.23s 9.17s +11.39%
coldInstallTime 114.64s 97.95s -14.55%
hotInstallTime 0.48s 0.57s +20.93%
dependenciesCount 1588 1592 +0.25%
installSize 390.26MB 391.73MB +0.38%

Threshold exceeded in app-arco-pro-rspack: ["devPrepareTime","buildPrepareTime"]

@Timeless0911
Copy link
Collaborator

image

Has the startup logic (maybe loadPlugins and loadConfig) of modernjs cli changed recently? It seems the devPrepareTime and buildPrepareTime has increased in all cases. @yimingjfe

The calculate logic is very simple
https://github.com/web-infra-dev/web-infra-QoS/blob/debc46c1e0a1492ee245baf3053ce03591e968e9/scripts/src/plugins/modernjs-framework/measure-compile-speed-plugin.ts#L37-L46

The initial case is created by modernjs init, you can see in https://github.com/web-infra-dev/web-infra-QoS/tree/master/cases/modernjs-framework/app-initial

If it doesn't matter, you can close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants