swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
docs(agents): Add AGENTS two-pass rules for es crates (#11634) ## Summary - add AGENTS.md to crates/swc_es_transforms - add AGENTS.md to crates/swc_es_minifier - document strict 2-pass rule (analysis pass, then transform pass) - document prohibition on dependencies to any swc_ecma_* crates ## Testing - not run (docs-only change)
main
53 minutes ago
docs: add two-pass rules for swc_es crates
kdy1/docs-es-two-pass-agents
56 minutes ago
feat(es_parser): Expand benchmark corpus (#11633) ## Summary - expand swc_es_parser parser/lexer benchmarks from 2 fixtures to the 11-file corpus used by swc_ecma_parser benchmarks - localize benchmark fixtures under crates/swc_es_parser/benches/files and remove all swc_ecma_* path references from benchmark code - strengthen no_ecma_dependency coverage to also fail if benches/*.rs references swc_ecma_* symbols ## Verification - git submodule update --init --recursive - cargo bench -p swc_es_parser --bench parser --no-run - cargo bench -p swc_es_parser --bench lexer --no-run - cargo test -p swc_es_parser no_ecma_dependency - cargo test -p swc_es_parser --test no_ecma_dependency - cargo test -p swc_es_parser - cargo fmt --all - cargo clippy --all --all-targets -- -D warnings
main
1 hour ago
feat(swc_es_parser): expand benchmark corpus without ecma deps
kdy1/swc-es-parser-bench-parity
13 hours ago
feat(es): add 2-pass transformer and minifier crates (#11632) ## Summary - add new crate `swc_es_transforms` for `swc_es_ast` with a strict 2-pass pipeline (`analysis_once` + `rewrite_once`) - add new crate `swc_es_minifier` for `swc_es_ast` that reuses the same 2-pass contract for compress/mangle - expose stable public APIs/options/results for both crates, including `PassStats` and `{changed, program}` result shape - add no-`swc_ecma_*` guard tests (Cargo.toml and source scan) in both crates - add fixture-based transform/minify tests, safety regression tests, pass-stats tests, and benches ## Design notes - all built-in transform/minify rules run through the engine callback path only - fixed rewrite ordering for transforms: normalize -> syntax lowering -> cleanup - minifier mangle keeps conservative safety defaults and skips dynamic scope/import-export/reserved/keep-name symbols - no fixed-point/pass looping: each call is exactly one analysis pass + one rewrite pass ## Validation - `cargo test -p swc_es_transforms` - `cargo test -p swc_es_minifier` - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings`
main
13 hours ago
fix(bench): use parser-stable inputs for es-ast benches
kdy1/es-ast-2pass-transform-minifier
18 hours ago
feat(es-ast): add 2-pass transform and minifier crates
kdy1/es-ast-2pass-transform-minifier
18 hours ago
test(es_codegen): extend fixture coverage and document ecma dependency boundary
kdy1/es-codegen-fixture-coverage
2 days ago
Active Branches
fix(transforms/module): replace canonicalization with clean to not mess up symlinks
last run
2 days ago
#11585
CodSpeed Performance Gauge
0%
fix(es/minifier): Handle `toExponential(undefined)`
last run
9 days ago
#11583
CodSpeed Performance Gauge
0%
fix(minifier): drop unused call args for known function bindings
last run
13 days ago
#11578
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs