swc-project
swc
BlogDocsChangelog

Performance History

Latest Results

refactor(es/minifier): Move drop_console and unsafes from Pure to Optimizer (#11388) ## Summary - Moved `drop_console` functionality from the `Pure` optimization pass to the `Optimizer` pass - Moved `drop_arguments_of_symbol_call` (unsafe Symbol handling) from `Pure` to `Optimizer` - Updated both implementations to use `Optimizer` context instead of `Pure` context - Integrated the calls into `Optimizer`'s `VisitMut` implementation ## Changes - Renamed `crates/swc_ecma_minifier/src/compress/pure/drop_console.rs` → `crates/swc_ecma_minifier/src/compress/optimize/drop_console.rs` - Renamed `crates/swc_ecma_minifier/src/compress/pure/unsafes.rs` → `crates/swc_ecma_minifier/src/compress/optimize/unsafes.rs` - Updated `Optimizer` to call `drop_console()` and `drop_arguments_of_symbol_call()` - Removed these calls from `Pure` pass ## Test plan - [ ] Run execution tests: `./scripts/exec.sh` in `crates/swc_ecma_minifier` - [ ] Run fixture tests: `./scripts/test.sh` in `crates/swc_ecma_minifier` - [ ] Verify minification behavior remains unchanged - [ ] Confirm no regressions in existing test suites šŸ¤– Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
main
16 hours ago
Create lovely-ghosts-doubt.md
kdy1/merge-pure
17 hours ago
Create neat-moose-mate.md
12-19-refactor/jsx-text-token-value
18 hours ago
Add TokenValue::JsxText
12-19-refactor/jsx-text-token-value
20 hours ago

Active Branches

feat(es/transformer): Merge `class_properties` pass
last run
21 hours ago
#11386
CodSpeed Performance Gauge
+19%
#11292
CodSpeed Performance Gauge
0%
Ā© 2025 CodSpeed Technology
Home Terms Privacy Docs