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

Performance History

Latest Results

chore: Add changeset
refactor/parser-contexts-and-construction
7 minutes ago
chore: Add changeset
refactor/parser-contexts-and-construction
2 hours ago
chore: Add changeset
refactor/parser-contexts-and-construction
3 hours ago
fix(node): Repair native release verification and cache handling (#12415) **Description:** Fix native release failures in Node setup, Linux cache creation, Windows loading, and startup measurement. Compressed npm carriers retain the public API, minimum Node versions, v1 payload format, and SHA-512 cache/artifact identities. - Separate package tooling from minimum-Node smoke checks, disable inferred setup-node caching, and use canonical user-owned home caches. Normalize Windows native paths and pass tar archives through stdin file handles to avoid drive-letter parsing and broken-pipe failures. - Preserve cache ownership, DACL, reparse-point, and full-file integrity checks while accepting TrustedInstaller-owned Windows ancestors and ignoring inheritance-only ACEs. Include rejected paths, SIDs, and native causes in diagnostics. - Bind BLAKE3 1.5.4 metadata to the complete SHA-512-verified payload header and verify every decoded/cache image byte. New Windows raw cache images are uncompressed; existing compressed entries remain verified and usable. Verified cleanup helpers remain optional when executable policy blocks child-process creation. - Measure fresh cold raw and carrier files on the cache volume with matching Windows compression policy, 15-sample medians, and validated `rawColdMs` arithmetic. The approved x64 limits are **500 ms cold / 125 ms warm**, with **1,500 ms cold / 125 ms warm for macOS x64 under Rosetta**. Both profiles appear in the final gate JSON and summary. - Allow exact-source verification only with publishing and tag creation disabled. Remove unused wasm-pack installation from native builds and repair the Rust action pin while preserving explicit toolchains. Keep the carrier guide as the current release contract and remove the dated CI-status document and its links. **Validation:** [The complete release verification and final gate passed](https://github.com/swc-project/swc/actions/runs/36125792125) at `a34db74f2954aa1187f82fd7ca69ef5c4ddd4771`: - **48 builds, four npm assemblies, 64 Node 20/22 runtime checks, five minimum-Node checks, and four platform lifecycle jobs passed.** Windows x64/ARM64, Linux GNU/musl, macOS ARM64, and Rosetta are covered. The lifecycle jobs include Rust 1.73, NTFS policy, denied-helper execution, and portable tar/measurement regression tests. - **All 201 standard PR checks passed** at the same commit. All three review findings were addressed and their threads resolved. - The final `native-gate.json` confirms the exact source commit, both budget profiles, 48 artifact reports, 69 runtime/minimum-Node reports, and 52 npm tarballs. It verifies 32 carriers and 16 raw addons; selected artifacts shrink by **62.58%** in aggregate. - Local verification includes initialized submodules, `cargo fmt --all`, full clippy with warnings denied, private Rust crate suites, Rust 1.73, and core binding build/tests (119 passed, three existing skips). The final JS follow-up passed 21 tests locally; its Windows-only test also passed on both Windows CI architectures. Boundary coverage rejects 1,501 ms cold on Rosetta, 501 ms on other x64 targets, and 126 ms warm on all x64 targets. Maximum measured overheads in the successful run (cold and warm maxima may come from different jobs): | Profile | Cold overhead | Warm overhead | Approved limits | | --- | ---: | ---: | --- | | Rosetta macOS x64 | 787.55 ms | 92.40 ms | 1,500 / 125 ms | | Other x64 targets | 318.29 ms | 19.50 ms | 500 / 125 ms | The [preceding run](https://github.com/swc-project/swc/actions/runs/36001332183) remains failed under its former 500 ms Rosetta cold limit; it was not relabeled or rerun to obtain a passing measurement. No npm package or release tag was published by verification. **Related issue (if exists):** [Original failing native release run](https://github.com/swc-project/swc/actions/runs/35848196983)
main
6 hours ago

Latest Branches

CodSpeed Performance Gauge
-3%
refactor(es/parser): Separate parser contexts and streamline parameter construction#12425
3 hours ago
504d3f1
refactor/parser-contexts-and-construction
CodSpeed Performance Gauge
0%
4 hours ago
275bbba
BleedingDev:fix/react-compiler-fast-check-gate
CodSpeed Performance Gauge
0%
fix(es/decorators): Do not transform decorators when target is esnext#12422
2 days ago
dde494e
akashchamp:fix/decorator-esnext-target
© 2026 CodSpeed Technology
Home Terms Privacy Docs