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

Performance History

Latest Results

fix(minifier): preserve throwing class defaults
fix/minifier-unused-object-pattern-defaults
6 hours ago
fix(minifier): preserve optional class default effects
fix/minifier-unused-object-pattern-defaults
7 hours ago
fix(es/minifier): preserve eval callee receivers
labor0/fix-minifier-hoist-property-callees
7 hours ago
fix(minifier): retain unsafe class default effects
fix/minifier-unused-object-pattern-defaults
7 hours ago
chore: add minifier property callee changeset
labor0/fix-minifier-hoist-property-callees
8 hours ago
fix(minifier): preserve throwing unused defaults
fix/minifier-unused-object-pattern-defaults
8 hours ago
fix(es/minifier): preserve pure annotation ownership (#12180) **Description:** Preserve PURE annotation ownership when parenthesis removal relocates a leading comment onto an inner callee expression. The metadata pass now checks the comment's original source span before promoting it to an enclosing call, preventing observable outer invocations from being treated as pure without hard-coding individual callee shapes. Synthetic PURE spans and legitimate whole-call annotations retain their existing behavior, including sequence-expression support. The existing protections for nested direct calls, optional calls, constructors, and tagged templates are also preserved. Adds an executable SWC-owned regression fixture covering side-effectful function-expression and helper-call callees, removable whole-call annotations, sequence expressions, and call-like callees with compression, mangling, and module mode enabled. Validation: - `cargo fmt --all` - `cargo test -p swc_ecma_minifier` - `crates/swc_ecma_minifier/./scripts/test.sh` - `crates/swc_ecma_minifier/./scripts/exec.sh` - `cargo clippy -p swc_ecma_minifier --all-targets -- -D warnings` The runner could not initialize submodules because it reports that each submodule requires an independently bound repository credential. Consequently, workspace-wide Clippy could not compile the HTML parser's absent `html5lib-tests` fixtures; strict Clippy for the changed crate passes. **Related issue (if exists):** Closes #12177 --------- Co-authored-by: Labor0 Bot <279936132+labor0-bot[bot]@users.noreply.github.com>
main
8 hours ago
test(minifier): add object default execution coverage
fix/minifier-unused-object-pattern-defaults
8 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
fix(es/minifier): drop unused object pattern defaults#12176
7 hours ago
7e0d3bf
fix/minifier-unused-object-pattern-defaults
CodSpeed Performance Gauge
0%
7 hours ago
24d83cc
labor0/fix-minifier-hoist-property-callees
CodSpeed Performance Gauge
0%
fix(es/minifier): preserve pure annotation ownership#12180
9 hours ago
1a11a4b
fix-12177-pure-annotation-ownership
© 2026 CodSpeed Technology
Home Terms Privacy Docs