Skip to content

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Aug 12, 2025

Use the original vec in-place instead of re-building the statements vec.

Re-buiding the vec will append data to the end of the memory arena,
which is not cache friendly.

@github-actions github-actions bot added A-minifier Area - Minifier C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Aug 12, 2025
Copy link
Member Author

Boshen commented Aug 12, 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.

@codspeed-hq
Copy link

codspeed-hq bot commented Aug 12, 2025

CodSpeed Instrumentation Performance Report

Merging #13028 will not alter performance

Comparing 08-12-refactor_minifier_use_the_original_vec_as_the_buffer_in_minimize_statements_ (7223686) with 08-12-refactor_minifier_separate_.minify_and_.dce_methods (993db89)

Summary

✅ 34 untouched benchmarks

@graphite-app
Copy link
Contributor

graphite-app bot commented Aug 12, 2025

Merge activity

…ents` (#13028)

Use the original vec in-place instead of re-building the statements vec.

Re-buiding the vec will append data to the end of the memory arena,
which is not cache friendly.
@graphite-app graphite-app bot force-pushed the 08-12-refactor_minifier_separate_.minify_and_.dce_methods branch from 78fa81e to 993db89 Compare August 12, 2025 14:58
@graphite-app graphite-app bot force-pushed the 08-12-refactor_minifier_use_the_original_vec_as_the_buffer_in_minimize_statements_ branch from 0d71de6 to 7223686 Compare August 12, 2025 14:59
Base automatically changed from 08-12-refactor_minifier_separate_.minify_and_.dce_methods to main August 12, 2025 15:05
@graphite-app graphite-app bot merged commit 7223686 into main Aug 12, 2025
27 checks passed
@graphite-app graphite-app bot deleted the 08-12-refactor_minifier_use_the_original_vec_as_the_buffer_in_minimize_statements_ branch August 12, 2025 15:06
taearls pushed a commit to taearls/oxc that referenced this pull request Aug 12, 2025
…ents` (oxc-project#13028)

Use the original vec in-place instead of re-building the statements vec.

Re-buiding the vec will append data to the end of the memory arena,
which is not cache friendly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-minifier Area - Minifier C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants