Avatar for the swc-project user
swc-project
swc
BlogDocsChangelog

Performance History

Latest Results

fix(es/minifier): preserve switch fallthrough termination (#11971) **Description:** Fixes switch termination detection so fallthrough from matched cases into later cases is accounted for before dead-code elimination. This preserves code after switches like `default: return 1; case "0":`, where the later empty case can still complete normally. This PR updates `StmtExt::terminates`, adds focused switch termination tests, adds issue #11970 minifier fixture coverage, and adds an exec regression proving `classify("0")` still reaches the post-switch `return 2`. **Testing:** - `git submodule update --init --recursive` - `UPDATE=1 cargo test -p swc_ecma_minifier` - `cargo test -p swc_ecma_utils` - `cargo test -p swc_ecma_minifier` - `(cd crates/swc_ecma_minifier && ./scripts/exec.sh issue_11970)` - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings` **Related issue:** Closes #11970
main
46 minutes ago
fix(es/minifier): preserve switch fallthrough termination
kdy1/fix-switch-fallthrough-termination
1 hour ago
fix(es/minifier): preserve switch fallthrough termination
kdy1/fix-switch-fallthrough-termination
1 hour ago
fix async generator preset env repair
codex/fix-async-generator-chrome-60
4 hours ago
revert: undo whitespace-only changes in files unrelated to eslintSuppressionRules fix
mattcosta7:copilot/fix-eslint-suppression-rules
9 hours ago
fix(preset-env): handle async generator edge cases
codex/fix-async-generator-chrome-60
1 day ago

Latest Branches

CodSpeed Performance Gauge
0%
fix(es/minifier): preserve switch fallthrough termination#11971
2 hours ago
9e33cfa
kdy1/fix-switch-fallthrough-termination
CodSpeed Performance Gauge
0%
fix(es/preset-env): fix async generator env transform for Chrome 60#11959
4 hours ago
65d34b8
codex/fix-async-generator-chrome-60
CodSpeed Performance Gauge
0%
7 hours ago
4061391
mattcosta7:copilot/fix-eslint-suppression-rules
© 2026 CodSpeed Technology
Home Terms Privacy Docs