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

Performance History

Latest Results

fix(es/parser): Export `TokenFlags` from `unstable` (#12751) **Description:** The public `Tokens` trait uses `TokenFlags` in `update_token_flags` and `token_flags`. `TokenFlags` was private to the crate. Because of this, no crate outside the parser could implement `Tokens`. This PR exports `TokenFlags` from `swc_ecma_parser::unstable`, next to the other token types. It also adds an integration test. The test wraps `Lexer` in a `Tokens` implementation from outside the crate and parses a module with it. Local validation: `cargo test -p swc_ecma_parser` passed. `cargo test -p swc_ecma_parser --features unstable --test unstable_tokens` passed. `cargo clippy -p swc_ecma_parser --all-targets --features unstable -- -D warnings` passed. I did not run the workspace-wide `cargo clippy --all`. CI has not run yet. **BREAKING CHANGE:** None. **Related issue (if exists):** Closes #12747 Co-authored-by: mellyeliu <64865235+mellyeliu@users.noreply.github.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
main
2 hours ago
Merge branch 'main' into perf/minifier-pure-traversal
perf/minifier-pure-traversal
3 hours ago
Merge branch 'main' into fix/minifier-import-live-bindings
fix/minifier-import-live-bindings
3 hours ago
docs: add combined native and btrfs benchmark results
jdalton:perf/native-btrfs-codec-fallback
8 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
fix(es/parser): Export `TokenFlags` from `unstable`#12751
3 hours ago
e432385
kdy1/fix-issue-12747
CodSpeed Performance Gauge
0%
perf(es/minifier): Avoid repeated simplification of unused values#12736
3 hours ago
18870ae
perf/minifier-pure-traversal
CodSpeed Performance Gauge
+4%
3 hours ago
8d17bf2
kdy1/fix-issue-12748
Ā© 2026 CodSpeed Technology
Home Terms Privacy Docs