swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
perf(minifier): Pre-compute min usage thresholds at compile time Instead of calling min_usages_for_name() at runtime, pre-compute all thresholds as constants at compile time. This eliminates arithmetic operations during the precompress phase. Changes: - Make min_usages_for_name a const fn - Add 110+ pre-computed MIN_USAGES_* constants for all known static methods and global objects - Replace is_known_static_method and is_known_global_object with get_static_method_min_usages and get_global_object_min_usages that return Option<usize> - the pre-computed threshold directly - Update UsageCounter and AliasReplacer to use the new lookup functions Suggested by: SukkaW Co-Authored-By: Donny/강동윤 <kdy1@users.noreply.github.com>
claude/issue-9741-20260123-0241
8 hours ago
fix(es/parser): Disallow NumericLiteralSeparator with BigInts (#11510) **Description:** I'm using swc in my JS Engine [Yavashark](github.com/Sharktheone/yavashark). I noticed, some test262 tests that were crashing in swc internally. Example: [test262](https://github.com/tc39/test262/blob/main/test/language/literals/bigint/numeric-separators/numeric-separator-literal-bil-bd-nsl-bd-err.js), [result](https://yavashark.dev/test262/#/v/language/literals/bigint/numeric-separators/numeric-separator-literal-bil-bd-nsl-bd-err.js). These tests are panicking because there was a missing check whether the literal contains any separators / underscores which would cause a failure in the `num_bigint` parser. I've also added a fallback to not panic even when the `num_bigint` parse fails.
main
21 hours ago
Update dependencies in changeset for BigInt fix Updated dependencies to include swc_ecma_parser and swc_core.
Sharktheone:bigint-separators-panic
21 hours ago
Create friendly-scissors-grab.md
claude/issue-11505-20260127-0559
21 hours ago
feat(es/module): Make module transforms optional via `module` feature (#11509) ## Summary Make `swc_ecma_transforms_module` an optional dependency of the `swc` crate. Bundlers typically handle module transforms themselves, so they don't need this code, reducing binary size. ## Changes - Add `module` feature to `swc` crate that enables module transforms - Gate all module-related code with `#[cfg(feature = "module")]` - Add `base_module` feature to `swc_core` that enables `swc/module` - Update `swc_cli_impl`, `binding_core_node`, and `binding_core_wasm` to explicitly enable the module feature Closes #11505 Generated with [Claude Code](https://claude.ai/claude-code) --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Donny/강동윤 <kdy1@users.noreply.github.com>
main
21 hours ago
fix(es/parser): Disallow NumericLiteralSeparator with BigInts
Sharktheone:bigint-separators-panic
23 hours ago
fix(es/parser): Disallow NumericLiteralSeparator with BigInts
Sharktheone:bigint-separators-panic
23 hours ago
fix: Include module feature in default features for swc crate This ensures tests run with module transforms enabled, fixing the babel exec test failures. Co-authored-by: Donny/강동윤 <kdy1@users.noreply.github.com>
claude/issue-11505-20260127-0559
1 day ago
Active Branches
feat(es/minifier): Add `unsafe_hoist_static_method_alias` option
last run
8 hours ago
#11493
CodSpeed Performance Gauge
0%
feat(es/transformer): Add edge_default_param bugfix hook
last run
1 day ago
#11504
CodSpeed Performance Gauge
0%
perf: Disable all unnecessary default-features
last run
2 days ago
#11500
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs