swc-project
swc
BlogDocsChangelog

Performance History

Latest Results

fix(es/minifier): Treat new expression with empty class as side-effect free (#11455) Fixes #11320 This change adds `is_pure_new_callee()` to detect when a class expression can be safely used with `new` without side effects. A class is considered pure for `new` when: - It has no super class (super() call may have side effects) - No side effects from class definition (computed keys, property initializers, static blocks) - No instance properties (they run during construction) - Constructor is either absent or has empty body This is separate from `is_pure_callee()` because calling a class as a function (`(class {})()`) throws TypeError, while `new (class {})()` is valid and pure. --- 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
42 minutes ago
Create rich-jars-cover.md
claude/issue-11083-20260120-0443
1 hour ago
Create green-spiders-grin.md
claude/issue-11320-20260120-0444
1 hour ago
react pass
kdy1/react-single-pass
24 hours ago

Active Branches

fix(es/renamer): Prevent duplicate parameter names with destructuring patterns
last run
1 hour ago
#11456
CodSpeed Performance Gauge
0%
#11452
CodSpeed Performance Gauge
0%
#11445
CodSpeed Performance Gauge
-8%
© 2026 CodSpeed Technology
Home Terms Privacy Docs