Avatar for the oxc-project user
oxc-project
oxc
BlogDocsChangelog

feat(minifier): minimize switch statements

#17523
Comparing
armano2:feat/minimize-switch
(
6f9d0d6
) with
main
(
8be4de7
)
CodSpeed Performance Gauge
0%
Untouched
44
Skipped
7

Benchmarks

7 total
formatter[binder.ts]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
21.2 ms*
formatter[cal.com.tsx]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
188.5 ms*
formatter[react.development.js]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
10.7 ms*
linter[binder.ts]
tasks/benchmark/benches/linter.rs::linter::bench_linter
Skipped
53.2 ms*
linter[cal.com.tsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
Skipped
531 ms*
linter[react.development.js]
tasks/benchmark/benches/linter.rs::linter::bench_linter
Skipped
20.8 ms*
linter[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
Skipped
782.8 µs*

Commits

Click on a commit to change the comparison range
Base
main
8be4de7
-0.04%
feat(minifier): minimize switch statements
3215778
3 months ago
by armano2
+0.06%
fix: correct linting issues
1b6fe1d
3 months ago
by armano2
-0.01%
fix: remove side effect free last elements if there is no default
ff561dd
3 months ago
by armano2
-0.06%
fix: correct unit tests
5a3b0ef
3 months ago
by armano2
-0.06%
fix: correct generated ast
aaf37da
3 months ago
by armano2
+0.06%
fix: update code to support fallthrough
af30748
3 months ago
by armano2
+0.07%
Merge remote-tracking branch 'upstream/main' into feat/minimize-switch
634b17a
3 months ago
by armano2
+0.03%
Merge remote-tracking branch 'upstream/main' into feat/minimize-switch
167b36d
3 months ago
by armano2
-0.05%
fix: correct issue with inlining break with label
6db0a6f
3 months ago
by armano2
-0.03%
fix: cleanup
a31e9bf
3 months ago
by armano2
+0.08%
fix: apply changes from code review and add documentation
af1e336
3 months ago
by armano2
-0.08%
[autofix.ci] apply automated fixes
806ef4a
3 months ago
by autofix-ci[bot]
-0.06%
fix: disable all declarations and iterators in BreakFinder
414dff1
3 months ago
by armano2
-0.02%
Merge remote-tracking branch 'upstream/main' into feat/minimize-switch
41aeed9
3 months ago
by armano2
+0.07%
fix(minifier): improve removal of switch breaks from switch cases
c25274f
3 months ago
by armano2
+0.06%
fix: allow to remove empty case from end of switch if there is no default
0a9836b
3 months ago
by armano2
+0.01%
fix: correct bug with nested switches
87a59b3
3 months ago
by armano2
-0.04%
Merge remote-tracking branch 'upstream/main' into feat/minimize-switch
155deeb
3 months ago
by armano2
-0.01%
chore: update snapshots
5662f4b
3 months ago
by armano2
+0.01%
test: update tests
206fc44
3 months ago
by armano2
-0.14%
Merge remote-tracking branch 'upstream/main' into feat/minimize-switch
556b60b
3 months ago
by armano2
+0.09%
Merge remote-tracking branch 'upstream/main' into feat/minimize-switch
5118bba
3 months ago
by armano2
+0.12%
Merge remote-tracking branch 'upstream/main' into feat/minimize-switch
2d323c5
22 days ago
by armano2
-0.02%
chore: apply changes from code review
25d7f72
22 days ago
by armano2
-0.09%
fix: correct new lint error
67f87b5
22 days ago
by armano2
-0.04%
Merge branch 'main' into feat/minimize-switch
6f9d0d6
18 hours ago
by armano2
© 2026 CodSpeed Technology
Home Terms Privacy Docs