ci(benchmarks): add benchmark for updating tokens for raw transfer#19854
Merged
graphite-app[bot] merged 1 commit intomainfrom Mar 1, 2026
Conversation
This was referenced Feb 28, 2026
Member
Author
Merging this PR will not alter performance
Performance Changes
Comparing Footnotes
|
358f70b to
9022536
Compare
2657a51 to
11c2f82
Compare
11c2f82 to
94e1c0a
Compare
9022536 to
45f9af2
Compare
94e1c0a to
4bd423a
Compare
45f9af2 to
f78e6df
Compare
e6e6df3 to
efbb82b
Compare
This was referenced Feb 28, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Criterion benchmark to track performance of preparing tokens for an eventual “raw transfer” path from Rust to JS; for now it benchmarks the current JSON serialization approach to establish a baseline.
Changes:
- Introduce
bench_estree_tokens_rawbenchmark group for token preparation/serialization. - Register the new benchmark in the
criterion_group!for the parser benchmarks.
Contributor
Merge activity
|
…19854) Add a benchmark for preparing tokens on Rust side to be sent to JS with raw transfer. This isn't implemented yet, so initially this benchmark measures perf of serializing to JSON.
efbb82b to
c4852cd
Compare
This was referenced Mar 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Add a benchmark for preparing tokens on Rust side to be sent to JS with raw transfer. This isn't implemented yet, so initially this benchmark measures perf of serializing to JSON.