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

perf(es/minifier): Allocate in once from mark_property_mutation #10004

Merged
merged 3 commits into from
Feb 6, 2025

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Feb 6, 2025

@kdy1 kdy1 requested a review from a team as a code owner February 6, 2025 17:37
kodiakhq[bot]
kodiakhq bot previously approved these changes Feb 6, 2025
@kdy1 kdy1 added this to the Planned milestone Feb 6, 2025
Copy link

changeset-bot bot commented Feb 6, 2025

🦋 Changeset detected

Latest commit: 63e3f1d

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

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

@kdy1 kdy1 requested a review from a team as a code owner February 6, 2025 17:39
@kdy1 kdy1 self-assigned this Feb 6, 2025
@kdy1 kdy1 merged commit 4a90e51 into swc-project:main Feb 6, 2025
171 checks passed
@kdy1 kdy1 deleted the min-perf branch February 6, 2025 18:28
Copy link

codspeed-hq bot commented Feb 6, 2025

CodSpeed Performance Report

Merging #10004 will degrade performances by 5.31%

Comparing kdy1:min-perf (98e9fcb) with main (6f4e7ad)

Summary

⚡ 2 improvements
❌ 3 regressions
✅ 191 untouched benchmarks

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

Benchmarks breakdown

Benchmark BASE HEAD Change
es/full/minify/libraries/lodash 238.7 ms 230.8 ms +3.39%
es/full/minify/libraries/moment 119.9 ms 126 ms -4.82%
es/minifier/libs/jquery 156.9 ms 165.8 ms -5.31%
es/minifier/libs/moment 105.1 ms 97.8 ms +7.44%
es/minifier/libs/terser 466.4 ms 482.8 ms -3.41%

@kdy1 kdy1 modified the milestones: Planned, v1.10.15 Feb 8, 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.

es/minifier: mark_property_mutation allocates too much
1 participant