Skip to content

fix(es/minifier): Dont't optimize swtich case before DCE#9994

Merged
kdy1 merged 1 commit intoswc-project:mainfrom
Austaras:main
Feb 6, 2025
Merged

fix(es/minifier): Dont't optimize swtich case before DCE#9994
kdy1 merged 1 commit intoswc-project:mainfrom
Austaras:main

Conversation

@Austaras
Copy link
Copy Markdown
Member

@Austaras Austaras commented Feb 5, 2025

Description:

BREAKING CHANGE:

Related issue (if exists):
Closes #9922

@Austaras Austaras requested a review from a team as a code owner February 5, 2025 08:27
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Feb 5, 2025

CodSpeed Performance Report

Merging #9994 will improve performances by 3.79%

Comparing Austaras:main (9ed6220) with main (963c3a5)

Summary

⚡ 1 improvements
✅ 195 untouched benchmarks

Benchmarks breakdown

Benchmark BASE HEAD Change
es/minifier/libs/jquery 162.5 ms 156.6 ms +3.79%

@kdy1 kdy1 added this to the Planned milestone Feb 5, 2025
@kdy1
Copy link
Copy Markdown
Member

kdy1 commented Feb 5, 2025

Hmm changeset bot is not working.
@changeset-bot

@kdy1 kdy1 merged commit afe21b5 into swc-project:main Feb 6, 2025
@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.

minifier: Leaving break in labeled statements inside of switch statement can result in an invalid program

3 participants