Skip to content

Comments

feat: use minifySync instead of async for oxc-minify#837

Closed
Boshen wants to merge 1 commit intoprivatenumber:masterfrom
Boshen:oxc-sync
Closed

feat: use minifySync instead of async for oxc-minify#837
Boshen wants to merge 1 commit intoprivatenumber:masterfrom
Boshen:oxc-sync

Conversation

@Boshen
Copy link
Contributor

@Boshen Boshen commented Nov 18, 2025

Using the sync version because the async version spawns a real thread, which is slow for single threaded js benchmarks.

The purpose of this PR is to observe performance difference between the async and sync version, feel free to reject if it does not meet the requirements of this project.

Using the sync version because the async version spawns a real thread,
which is slow for single threaded js benchmarks.

The purpose of this PR is to observe performance difference between the
async and sync version, feel free to reject if it does not meet the
requirements of this project.
@Boshen
Copy link
Contributor Author

Boshen commented Nov 18, 2025

Need to trigger CI on this PR to see some results.

@privatenumber
Copy link
Owner

Results are here: #839

LMK if you want to move forward with this!

@Boshen
Copy link
Contributor Author

Boshen commented Nov 21, 2025

Results are here: #839

LMK if you want to move forward with this!

Numbers look good. I'm in favor of merging unless the change does not meet this project's "by default" criteria.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants