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

Performance History

Latest Results

fix(es/typescript): analyze runtime containers before erasure Resolve enum values, alias dependencies and runtime requirements against shared declaration identities before syntax erasure. Track AST declaration order and execution regions, including eager decorator evaluation. Recognize immediately invoked functions through parentheses while retaining type wrappers as analysis boundaries. Evaluate initializers with TypeScript rules independently of optional member-read inlining. Substitute eligible enum reads while the original AST is intact, then pass immutable facts to lowering. Preserve reference operations and distinct emitted object identities, and accumulate namespace instantiation without repeated subtree scans.
fix/ts-namespace-enum-bindings
6 hours ago
fix(es/minifier): Track assignment aliases in member objects (#12621) <!-- Note: CI script will automatically rebase your PR so please do not rebase unless required --> <!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. --> **Description:** Member object analysis missed aliases on the right of assignments and assignments inside conditional or short-circuit branches. Follow those expressions so property access and mutation apply to each possible object alias. Follow the right side of plain and logical assignments; arithmetic assignments produce primitive values. Add a fixture that checks the reported aliases directly. This fixture fails with the original helper and passes with the fix. Add execution coverage for property writes and method calls, including two consecutive minifications. Update the ECharts output snapshot and add patch changesets for `swc_ecma_minifier` and `swc_core`. Validation on the implementation and fixtures before the changeset commit: - `cargo fmt --all` — passed. - `cargo clippy --all --all-targets -- -D warnings` — passed. - `cargo test -p swc_ecma_minifier` — passed without `UPDATE` after updating snapshots. - `(cd crates/swc_ecma_minifier && ./scripts/exec.sh)` — passed. - `cargo test -p swc_ecma_minifier --lib member_object_aliases` — passed again after reordering the final two fixture cases to avoid a trailing blank line. The crate tests emitted missing-`terser` messages from an optional character-frequency diagnostic; the tests passed. The existing `unignore_fixture` helper moved 37 fixture inputs because this checkout is under `.t3`. All moved inputs were restored after the tests. CI and review are pending. **Related issue (if exists):** Closes #12617 --------- Co-authored-by: Shafikul Islam Tanbir <58387559+shafiktanbir@users.noreply.github.com>
main
10 hours ago
docs: Require co-author credit for issue authors
t3/credit-issue-authors
10 hours ago
chore: Add changeset
kdy1/fix-issue-12617
10 hours ago
fix(es/minifier): do not merge sequences across reads of globalThis properties
baltasarblanco:fix/sequences-global-this-property-read
14 hours ago
fix(es/minifier): treat spread arguments of pure calls as side effects
baltasarblanco:fix/pure-call-spread-iteration-1744d5f-v2
19 hours ago

Latest Branches

CodSpeed Performance Gauge
+1%
fix(es/typescript): Fix merged namespace bindings and enum evaluation#12455
12 days ago
4e232c0
fix/ts-namespace-enum-bindings
CodSpeed Performance Gauge
0%
docs: Require co-author credit for issue authors#12622
10 hours ago
40099e1
t3/credit-issue-authors
CodSpeed Performance Gauge
0%
10 hours ago
c21ed80
kdy1/fix-issue-12617
© 2026 CodSpeed Technology
Home Terms Privacy Docs