Skip to content

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

Merged
kdy1 merged 3 commits intoswc-project:mainfrom
kdy1:min-perf
Feb 6, 2025
Merged

perf(es/minifier): Allocate in once from mark_property_mutation#10004
kdy1 merged 3 commits intoswc-project:mainfrom
kdy1:min-perf

Conversation

@kdy1
Copy link
Copy Markdown
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
@changeset-bot
Copy link
Copy Markdown

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
@kdy1 kdy1 deleted the min-perf branch February 6, 2025 18:28
@codspeed-hq
Copy link
Copy Markdown

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
@swc-project swc-project locked as resolved and limited conversation to collaborators Mar 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

es/minifier: mark_property_mutation allocates too much

1 participant