swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
feat(react-compiler): advance SWC upstream fixture parity (#11718) ## Summary - Continue React Compiler SWC parity work against upstream fixture expectations. - Align infer-mode function selection and fixture-entrypoint handling (including `TODO_FIXTURE_ENTRYPOINT`). - Implement and wire `drop_manual_memoization` in the compile pipeline with conservative guards. - Improve reactive-scope parity for loop/dependency handling, do-while lowering, destructuring/default normalization, and CFG peepholes used by upstream fixtures. - Extend fixture parsing normalization for Flow syntax edge cases. ## Validation - `git submodule update --init --recursive` - Targeted upstream fixture manifests for regression checks (multiple focused sets) - `RUN_UPSTREAM_FIXTURES=1 cargo test -p swc_ecma_react_compiler --test fixture fixture_cases_upstream` ## Current Status - Draft for incremental parity work. - Full upstream run is improved but not fully green yet. - Current first failing fixture during full run: - `crates/swc_ecma_react_compiler/tests/fixtures/upstream/dont-merge-if-dep-is-inner-declaration-of-previous-scope/input.js`
main
11 hours ago
fix react compiler clippy and fmt regressions
kdy1/react-compiler-parity-step1
11 hours ago
fix(cli): skip mkdir when --out-file targets the current directory (#11720) When `--out-file file.min.js` is used without a directory component, `Path::parent()` returns an empty string. Calling `create_dir_all("")` fails on Windows with EEXIST. Skip the directory creation when the parent path is empty. Closes #11717 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Donny/강동윤 <kdy1@users.noreply.github.com>
main
1 day ago
fix(cli): skip mkdir when --out-file targets the current directory When `--out-file file.min.js` is used without a directory component, `Path::parent()` returns an empty string. Calling `create_dir_all("")` fails on Windows with EEXIST. Skip the directory creation when the parent path is empty since the current directory always exists. Closes #11717 Co-authored-by: Donny/강동윤 <kdy1@users.noreply.github.com>
claude/issue-11717-20260320-0904
1 day ago
react-compiler: advance upstream fixture parity
kdy1/react-compiler-parity-step1
1 day ago
test(minifier): add issue 11645 call-arity regression fixtures
Austaras:main
1 day ago
feat(es/react-compiler): advance upstream fixture parity pipeline (#11716) ## Summary This is a strict-upstream parity follow-up for `swc_ecma_react_compiler` against the current fixture manifest baseline (`facebook/react@c80a07509582daadf275f36ffe7a88c3b12e9db4`). - align fixture harness phase execution around manifest/root handling (without phase dir duplication) - advance pipeline stage ordering in `program.rs` toward upstream `Pipeline.ts` shape - split no-op module shells into concrete pass files across `inference` / `ssa` / `optimization` / `validation` - expand constant propagation and simple DCE coverage for assignment/update normalization and alias-aware cases - tune reactive scope lowering and memoization shaping to improve fixture parity ## Scope notes - crate parity only (no `@swc/core` surface expansion in this PR) - fixture expected outputs remain upstream source-of-truth (no local output rewrites) ## Verification - `git submodule update --init --recursive` - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings` - `cargo test -p swc_ecma_react_compiler` - `RUN_UPSTREAM_FIXTURES=1 cargo test -p swc_ecma_react_compiler fixture_cases_upstream -- --nocapture` (fails on current known mismatch) ## Known remaining mismatch - upstream strict fixture: `createElement-freeze` - current gap: memo-block decomposition/freeze-shape parity around `React.createElement` + `shallowCopy(childProps)` ordering
main
2 days ago
feat(react-compiler): advance upstream fixture parity pipeline
kdy1/react-compiler-upstream-parity-pipeline-followup
2 days ago
Latest Branches
CodSpeed Performance Gauge
0%
feat(react-compiler): advance SWC upstream fixture parity
#11718
11 hours ago
dadf0f5
kdy1/react-compiler-parity-step1
CodSpeed Performance Gauge
0%
fix(cli): skip mkdir when --out-file targets the current directory
#11720
1 day ago
b3c1f62
claude/issue-11717-20260320-0904
CodSpeed Performance Gauge
0%
feat(es/minifier): Remove useless arguments for non inlined callee
#11645
1 day ago
de7f217
Austaras:main
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs