Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(es/minifier): Add a way to profile minifier for real-world inputs #9881

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Jan 15, 2025

Description:

I'll create a public repository that contains the inputs for the minifier using public next.js apps and some libraries

@kdy1 kdy1 added this to the Planned milestone Jan 15, 2025
@kdy1 kdy1 self-assigned this Jan 15, 2025
Copy link

changeset-bot bot commented Jan 15, 2025

⚠️ No Changeset found

Latest commit: 7f56aca

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codspeed-hq bot commented Jan 15, 2025

CodSpeed Performance Report

Merging #9881 will degrade performances by 3.99%

Comparing kdy1:minifier-inputs (7f56aca) with main (751a310)

Summary

⚡ 2 improvements
❌ 1 regressions
✅ 193 untouched benchmarks
⁉️ 9 dropped benchmarks

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

Benchmarks breakdown

Benchmark main kdy1:minifier-inputs Change
es/full/minify/libraries/lodash 256.8 ms 245.9 ms +4.41%
es/full/minify/libraries/moment 130.1 ms 123.9 ms +5.04%
es/minifier/libs/lodash 214.8 ms 223.8 ms -3.99%
⁉️ es/visitor/base-perf/boxing_boxed 3.3 µs N/A N/A
⁉️ es/visitor/base-perf/boxing_boxed_clone 2.4 µs N/A N/A
⁉️ es/visitor/base-perf/boxing_unboxed 3.5 µs N/A N/A
⁉️ es/visitor/base-perf/boxing_unboxed_clone 2.6 µs N/A N/A
⁉️ es/visitor/base-perf/fold_empty 327.3 µs N/A N/A
⁉️ es/visitor/base-perf/fold_noop_impl_all 327.5 µs N/A N/A
⁉️ es/visitor/base-perf/fold_noop_impl_vec 327.4 µs N/A N/A
⁉️ es/visitor/base-perf/module_clone 326.9 µs N/A N/A
⁉️ es/visitor/base-perf/visit_contains_this 47.2 µs N/A N/A

@kdy1 kdy1 marked this pull request as ready for review January 15, 2025 14:39
@kdy1 kdy1 requested a review from a team as a code owner January 15, 2025 14:39
@kdy1 kdy1 merged commit 9657294 into swc-project:main Jan 15, 2025
168 checks passed
@kdy1 kdy1 deleted the minifier-inputs branch January 15, 2025 14:39
@kdy1 kdy1 modified the milestones: Planned, 1.10.8 Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant