Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Jul 15, 2025

Follow-on after #12256. Optimize the retain loop for removing quasis and expressions by doing bounds check only once at start, rather than on each turn of the loop.

@github-actions github-actions bot added the A-transformer Area - Transformer / Transpiler label Jul 15, 2025
Copy link
Member Author

overlookmotel commented Jul 15, 2025


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.

@github-actions github-actions bot added the C-performance Category - Solution not expected to change functional behavior, only performance label Jul 15, 2025
@overlookmotel overlookmotel marked this pull request as ready for review July 15, 2025 10:21
@overlookmotel overlookmotel requested a review from Dunqing as a code owner July 15, 2025 10:21
@codspeed-hq
Copy link

codspeed-hq bot commented Jul 15, 2025

CodSpeed Instrumentation Performance Report

Merging #12284 will not alter performance

Comparing 07-15-perf_transform_styled-components_optimize_removal_loop (5ecf5c4) with main (97e5f9c)

Summary

✅ 34 untouched benchmarks

Copy link
Member

@Dunqing Dunqing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey man, you don't let go of any instruction that can be removed.

@Dunqing Dunqing added the 0-merge Merge with Graphite Merge Queue label Jul 15, 2025
Copy link
Member

Dunqing commented Jul 15, 2025

Merge activity

  • Jul 15, 2:20 PM UTC: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Jul 15, 2:20 PM UTC: Dunqing added this pull request to the Graphite merge queue.
  • Jul 15, 2:21 PM UTC: The Graphite merge queue removed this pull request due to downstack failures on PR #12282.
  • Jul 15, 5:19 PM UTC: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Jul 15, 5:36 PM UTC: overlookmotel added this pull request to the Graphite merge queue.
  • Jul 15, 5:56 PM UTC: Merged by the Graphite merge queue.

@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 15, 2025
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Jul 15, 2025
@overlookmotel
Copy link
Member Author

Yeah maybe I am too obsessive!

@graphite-app graphite-app bot changed the base branch from 07-15-refactor_transform_styled-components_rename_var to graphite-base/12284 July 15, 2025 17:28
graphite-app bot pushed a commit that referenced this pull request Jul 15, 2025
Follow-on after #12256. Optimize the `retain` loop for removing quasis and expressions by doing bounds check only once at start, rather than on each turn of the loop.
@graphite-app graphite-app bot force-pushed the 07-15-perf_transform_styled-components_optimize_removal_loop branch from f2ba59f to f87da67 Compare July 15, 2025 17:36
@graphite-app graphite-app bot requested a review from camc314 as a code owner July 15, 2025 17:36
@github-actions github-actions bot added A-linter Area - Linter A-semantic Area - Semantic A-cli Area - CLI A-ast Area - AST A-ast-tools Area - AST tools A-formatter Area - Formatter labels Jul 15, 2025
@graphite-app graphite-app bot changed the base branch from graphite-base/12284 to 07-15-refactor_transform_styled-components_rename_var July 15, 2025 17:37
Base automatically changed from 07-15-refactor_transform_styled-components_rename_var to main July 15, 2025 17:44
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 15, 2025
@overlookmotel overlookmotel force-pushed the 07-15-perf_transform_styled-components_optimize_removal_loop branch from f87da67 to 08f8979 Compare July 15, 2025 17:48
Follow-on after #12256. Optimize the `retain` loop for removing quasis and expressions by doing bounds check only once at start, rather than on each turn of the loop.
@graphite-app graphite-app bot force-pushed the 07-15-perf_transform_styled-components_optimize_removal_loop branch from 08f8979 to 5ecf5c4 Compare July 15, 2025 17:48
@overlookmotel overlookmotel added 0-merge Merge with Graphite Merge Queue and removed A-linter Area - Linter A-semantic Area - Semantic A-cli Area - CLI A-ast Area - AST A-formatter Area - Formatter A-ast-tools Area - AST tools labels Jul 15, 2025
@overlookmotel
Copy link
Member Author

overlookmotel commented Jul 15, 2025

What the hell going on with this stack? Graphite keeps refusing to merge it even though CI passes. And who added every single label to this PR?

@graphite-app graphite-app bot merged commit 5ecf5c4 into main Jul 15, 2025
24 checks passed
@graphite-app graphite-app bot deleted the 07-15-perf_transform_styled-components_optimize_removal_loop branch July 15, 2025 17:56
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 15, 2025
@Dunqing
Copy link
Member

Dunqing commented Jul 16, 2025

Yeah maybe I am too obsessive!

No! This way can oxc get faster and faster.

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

Labels

A-transformer Area - Transformer / Transpiler 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.

3 participants