-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
perf: compiler performance optimization #9674
Merged
Merged
Commits on Nov 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 21d322b - Browse repository at this point
Copy the full SHA 21d322bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e610fdb - Browse repository at this point
Copy the full SHA e610fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea08664 - Browse repository at this point
Copy the full SHA ea08664View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16942a2 - Browse repository at this point
Copy the full SHA 16942a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 081ca7e - Browse repository at this point
Copy the full SHA 081ca7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4529f9b - Browse repository at this point
Copy the full SHA 4529f9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23448e0 - Browse repository at this point
Copy the full SHA 23448e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb38786 - Browse repository at this point
Copy the full SHA cb38786View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fbef69 - Browse repository at this point
Copy the full SHA 2fbef69View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8feccd - Browse repository at this point
Copy the full SHA a8feccdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73373b9 - Browse repository at this point
Copy the full SHA 73373b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd50689 - Browse repository at this point
Copy the full SHA fd50689View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49db157 - Browse repository at this point
Copy the full SHA 49db157View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4306249 - Browse repository at this point
Copy the full SHA 4306249View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd02806 - Browse repository at this point
Copy the full SHA dd02806View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90a4db9 - Browse repository at this point
Copy the full SHA 90a4db9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d189bf - Browse repository at this point
Copy the full SHA 9d189bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1aaf97 - Browse repository at this point
Copy the full SHA e1aaf97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08f5826 - Browse repository at this point
Copy the full SHA 08f5826View commit details -
Configuration menu - View commit details
-
Copy full SHA for a28c650 - Browse repository at this point
Copy the full SHA a28c650View commit details -
Configuration menu - View commit details
-
Copy full SHA for a870aaf - Browse repository at this point
Copy the full SHA a870aafView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba5aa7a - Browse repository at this point
Copy the full SHA ba5aa7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e54e0e1 - Browse repository at this point
Copy the full SHA e54e0e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04c0b33 - Browse repository at this point
Copy the full SHA 04c0b33View commit details -
Configuration menu - View commit details
-
Copy full SHA for d506584 - Browse repository at this point
Copy the full SHA d506584View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f7c0ce - Browse repository at this point
Copy the full SHA 1f7c0ceView commit details -
refactor: swap to new template parser
- get rid of SourceLocation.source for memory efficiency - move source location generation logic transform phase into the parser itself so that SourceLocation.source is no longer needed - move v-for expression parsing into the parser itself - added nameLoc on AttributeNode for use in transformElement Tests are not passing yet.
Configuration menu - View commit details
-
Copy full SHA for 956beba - Browse repository at this point
Copy the full SHA 956bebaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7b310b - Browse repository at this point
Copy the full SHA b7b310bView commit details -
Configuration menu - View commit details
-
Copy full SHA for eadf6f8 - Browse repository at this point
Copy the full SHA eadf6f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a52b5f0 - Browse repository at this point
Copy the full SHA a52b5f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 973de35 - Browse repository at this point
Copy the full SHA 973de35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1021e33 - Browse repository at this point
Copy the full SHA 1021e33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47224c6 - Browse repository at this point
Copy the full SHA 47224c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10f7d10 - Browse repository at this point
Copy the full SHA 10f7d10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aec019 - Browse repository at this point
Copy the full SHA 1aec019View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13032e8 - Browse repository at this point
Copy the full SHA 13032e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65831e7 - Browse repository at this point
Copy the full SHA 65831e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc90ee0 - Browse repository at this point
Copy the full SHA cc90ee0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ea6477 - Browse repository at this point
Copy the full SHA 6ea6477View commit details -
Configuration menu - View commit details
-
Copy full SHA for c88fa63 - Browse repository at this point
Copy the full SHA c88fa63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c78df0 - Browse repository at this point
Copy the full SHA 4c78df0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02e0205 - Browse repository at this point
Copy the full SHA 02e0205View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63d92ff - Browse repository at this point
Copy the full SHA 63d92ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94d1cf4 - Browse repository at this point
Copy the full SHA 94d1cf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f13ee6 - Browse repository at this point
Copy the full SHA 8f13ee6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66f0d0d - Browse repository at this point
Copy the full SHA 66f0d0dView commit details
Commits on Nov 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d29e8b5 - Browse repository at this point
Copy the full SHA d29e8b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3c1a08 - Browse repository at this point
Copy the full SHA a3c1a08View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf95cf2 - Browse repository at this point
Copy the full SHA bf95cf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bdde97 - Browse repository at this point
Copy the full SHA 7bdde97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c87718 - Browse repository at this point
Copy the full SHA 8c87718View commit details
Commits on Nov 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d5c03b1 - Browse repository at this point
Copy the full SHA d5c03b1View commit details -
perf(compiler-sfc): remove magic-string trim on script
magic-string's trim method uses a regex check for aborting which turns out to be extremely expensive - it cna take up to 10% time in total SFC compilation! The usage here is purely aesthetic so simply removing it for a big perf gain is well worth it.
Configuration menu - View commit details
-
Copy full SHA for c7a3d54 - Browse repository at this point
Copy the full SHA c7a3d54View commit details -
perf(codegen): optimize line / column calculation during codegen
Previously, many CodegenContext.push() calls were unnecessarily iterating through the entire pushed string to find newlines, when we already know the newline positions for most of calls. Providing fast paths for these calls significantly improves codegen performance when source map is needed. In benchmarks, this PR improves full SFC compilation performance by ~6%.
Configuration menu - View commit details
-
Copy full SHA for a95d76e - Browse repository at this point
Copy the full SHA a95d76eView commit details
Commits on Nov 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8928473 - Browse repository at this point
Copy the full SHA 8928473View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b0cc28 - Browse repository at this point
Copy the full SHA 7b0cc28View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.