Skip to content

Cut peak memory across the encode and payload paths - #309

Merged
Alek99 merged 5 commits into
mainfrom
alek/mem-audit
Jul 26, 2026
Merged

Cut peak memory across the encode and payload paths#309
Alek99 merged 5 commits into
mainfrom
alek/mem-audit

Keep every large string out of an intermediate in the HTML assembler

84e0fc2
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Jul 26, 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.

Open the report in CodSpeed to investigate

⚡ 2 improved benchmarks
✅ 101 untouched benchmarks
⏩ 2 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
test_animation_plain_payload_100k 2.2 ms 1.8 ms +20.49%
test_animation_keyed_payload_100k 3.3 ms 2.9 ms +12.9%

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 alek/mem-audit (84e0fc2) with main (62462ec)

Open in CodSpeed

Footnotes

  1. 2 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.