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

Performance History

Latest Results

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
3 hours ago
docs: Require co-author credit for issue authors
t3/credit-issue-authors
4 hours ago
chore: Add changeset
kdy1/fix-issue-12617
4 hours ago
fix(es/minifier): do not merge sequences across reads of globalThis properties
baltasarblanco:fix/sequences-global-this-property-read
7 hours ago
fix(es/minifier): treat spread arguments of pure calls as side effects
baltasarblanco:fix/pure-call-spread-iteration-1744d5f-v2
12 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
docs: Require co-author credit for issue authors#12622
4 hours ago
40099e1
t3/credit-issue-authors
CodSpeed Performance Gauge
0%
4 hours ago
c21ed80
kdy1/fix-issue-12617
CodSpeed Performance Gauge
0%
fix(es/minifier): do not merge sequences across reads of globalThis properties#12619
11 days ago
52c8d55
baltasarblanco:fix/sequences-global-this-property-read
© 2026 CodSpeed Technology
Home Terms Privacy Docs