swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
test(es_parser): add missing explicit-resource-management snapshot
kdy1/fix-ci-after-empty-commit
21 minutes ago
test(es_parser): add missing issue-11650 jsx error snapshot
kdy1/fix-ci-after-empty-commit
28 minutes ago
test(es_parser): add missing issue-11649 reuse snapshot
kdy1/fix-ci-after-empty-commit
36 minutes ago
chore: trigger ci for follow-up fixes
kdy1/fix-ci-after-empty-commit
54 minutes ago
ci: optimize cargo-test matrix with cargo-mono changed
kdy1/ci-cargo-mono-changed-matrix
20 hours ago
perf(es/parser): optimize underscore stripping in numeric literal hot path (#11670) ## Summary - optimize numeric-separator stripping in `swc_ecma_parser` lexer hot path by replacing `chars()` filtering with byte-level filtering - keep fast path behavior (`Cow::Borrowed`) when no underscore is present - add a focused lexer benchmark case for underscore-heavy numeric literals - add parser regression fixture coverage for issue `#11649` ## Changes - `crates/swc_ecma_parser/src/lexer/mod.rs` - rewrote `remove_underscore` to process bytes and build the stripped string without UTF-8 char iteration - `crates/swc_ecma_parser/benches/files/numeric-separators.js` - added a numeric-separator-heavy benchmark corpus - `crates/swc_ecma_parser/benches/lexer.rs` - added `es/lexer/numeric-separators` benchmark entry - `crates/swc_ecma_parser/tests/js/issue-11649/input.js` - `crates/swc_ecma_parser/tests/js/issue-11649/input.js.json` ## Verification - `git submodule update --init --recursive` - `UPDATE=1 cargo test -p swc_ecma_parser --test js issue_11649 -- --ignored` - `cargo test -p swc_ecma_parser --test js issue_11649 -- --ignored` - `cargo test -p swc_ecma_parser --test js issue_10724 -- --ignored` - `cargo test -p swc_ecma_parser` - `cargo bench -p swc_ecma_parser --bench lexer -- numeric-separators` - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings` Fixes #11649
main
1 day ago
perf(parser): remove TS arrow param clone churn
kdy1/issue-11646-ts-arrow-param-churn
2 days ago
feat(es/parser): Add `with_capacity` for `Capturing` (#11679) **Description:** This makes sense if the caller wants to preallocate the tokens vector
main
2 days ago
Active Branches
chore: fix CI for branch
last run
21 minutes ago
#11682
CodSpeed Performance Gauge
-3%
ci: optimize cargo-test matrix with cargo mono changed
last run
20 hours ago
#11681
CodSpeed Performance Gauge
0%
perf(swc_ecma_parser): reduce TS arrow param clone/reparse churn
last run
2 days ago
#11678
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs