-
Notifications
You must be signed in to change notification settings - Fork 90
perf(dev): improve cold start of dev server #902
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βll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Bundle Stats β create-nuxt size comparisonHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded
Removed
Bigger
Smaller
Unchanged
|
Bundle Stats β nuxt-cli size comparisonHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded
Removed
Bigger
Smaller
Unchanged
|
Bundle Stats β nuxi size comparisonHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded
Removed
Bigger
Smaller
Unchanged
|
commit: |
CodSpeed Performance ReportMerging #902 will improve performances by Γ2.5Comparing Summary
Benchmarks breakdown
|
π Linked issue
β Type of change
π Description
this is a set of changes aimed to improve the cold start of the dev server, including using a standalone entrypoint file instead of
nuxi _dev
, usingexsolve
for module resolution, starting fork 'earlier' in the process, and deduplicating some code for more consistencyin addition, we now start for the first time in no-fork mode, while creating a pre-warmed fork ready to go if we need to hard-restart.
Important
this does not scale linearly with your project size - the improvements here are shaving off time to the fixed time that
nuxt dev
takes to initialise