-
-
Notifications
You must be signed in to change notification settings - Fork 518
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(ast/estree): ESTree
serializer use CodeBuffer
#9331
base: 02-24-refactor_estree_make_itoa_dependency_optional
Are you sure you want to change the base?
perf(ast/estree): ESTree
serializer use CodeBuffer
#9331
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Performance ReportMerging #9331 will not alter performanceComparing Summary
|
No difference in performance? |
Only +0.5% improvement. Damn, I hoped for more. I guess the improvement in perf of |
Shall we reject the PR given the added dependency? |
baa24ca
to
f0c4209
Compare
f0c4209
to
3b06cc3
Compare
d69b85c
to
ddabad0
Compare
3b06cc3
to
0601b7d
Compare
0601b7d
to
2c8281a
Compare
Personally I still think it's worthwhile, for 3 reasons:
However, you're absolutely right about the dependency chain. I had overlooked that But I've moved this PR to the top of the stack, so that we can drop it if you feel strongly. |
ESTree
serializer useCodeBuffer
to assemble JSON string.CodeBuffer
has a more efficientpush
implementation thanVec<u8>
.