perf: speed up swc_ecma_codegen JsWriter hot path#11870
Draft
hardfist wants to merge 5 commits into
Draft
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
May 20, 2026 in 0s
Performance Gate Passed
⚠️ Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.
⚡ 19 improved benchmarks
✅ 200 untouched benchmarks
⏩ 31 skipped benchmarks1
Performance Changes
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing hardfist:codex/ecma-codegen-10pct-speedup (9ac84bc) with main (aa5b539)
Footnotes
-
31 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
Loading