Skip to content

perf(estree/tokens): reduce branches in UpdateContext::advance_to#19858

Closed
overlookmotel wants to merge 1 commit intoom/02-28-feat_estree_tokens_add_function_to_update_tokens_in_placefrom
om/02-28-perf_estree_tokens_reduce_branches_in_updatecontext_advance_to_
Closed

perf(estree/tokens): reduce branches in UpdateContext::advance_to#19858
overlookmotel wants to merge 1 commit intoom/02-28-feat_estree_tokens_add_function_to_update_tokens_in_placefrom
om/02-28-perf_estree_tokens_reduce_branches_in_updatecontext_advance_to_

Conversation

@overlookmotel
Copy link
Member

No description provided.

Copy link
Member Author

overlookmotel commented Feb 28, 2026

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.
Learn more


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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-hq
Copy link

codspeed-hq bot commented Feb 28, 2026

Merging this PR will degrade performance by 5.58%

❌ 1 regressed benchmark
✅ 52 untouched benchmarks
⏩ 3 skipped benchmarks1

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation estree_tokens_raw[checker.ts] 15.6 ms 16.5 ms -5.58%

Comparing om/02-28-perf_estree_tokens_reduce_branches_in_updatecontext_advance_to_ (9edefc9) with om/02-28-feat_estree_tokens_add_function_to_update_tokens_in_place (43878f4)2

Open in CodSpeed

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on om/02-28-feat_estree_tokens_add_function_to_update_tokens_in_place (a5153bb) during the generation of this report, so 52991ec was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@overlookmotel
Copy link
Member Author

Well that didn't work!

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

Labels

C-performance Category - Solution not expected to change functional behavior, only performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant