swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(es/types): add new options types
SukkaW:fix-types
13 hours ago
Merge branch 'main' into kdy1/ci-cargo-mono-changed-matrix
kdy1/ci-cargo-mono-changed-matrix
23 hours ago
test(es_parser): add missing explicit-resource-management snapshot
kdy1/fix-ci-after-empty-commit
1 day ago
test(es_parser): add missing issue-11650 jsx error snapshot
kdy1/fix-ci-after-empty-commit
1 day ago
test(es_parser): add missing issue-11649 reuse snapshot
kdy1/fix-ci-after-empty-commit
1 day ago
chore: trigger ci for follow-up fixes
kdy1/fix-ci-after-empty-commit
1 day ago
ci: optimize cargo-test matrix with cargo-mono changed
kdy1/ci-cargo-mono-changed-matrix
2 days 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
2 days ago
Active Branches
fix(es/types): add new options types
last run
13 hours ago
#11683
CodSpeed Performance Gauge
0%
ci: optimize cargo-test matrix with cargo mono changed
last run
23 hours ago
#11681
CodSpeed Performance Gauge
0%
perf(swc_ecma_parser): reduce TS arrow param clone/reparse churn
last run
3 days ago
#11678
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs