Skip to content

perf: Cache serialized extensions to speed up encoding - #3210

Merged
aborgna-q merged 2 commits into
mainfrom
ab/extension-serialization-cache
Sep 1, 2026
Merged

perf: Cache serialized extensions to speed up encoding#3210
aborgna-q merged 2 commits into
mainfrom
ab/extension-serialization-cache

Expand comment about cache behaviour

d98ef26
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Sep 1, 2026 in 0s

Performance Gate Passed

⚡ 3 improved benchmarks
✅ 42 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
serialization/simple_cfg/capnp/with_extensions/encode 490.1 µs 325 µs +50.78%
serialization/t_factory/capnp/with_extensions/encode 14.6 ms 11.1 ms +31.09%
serialization/simple_cfg/sexpr/with_extensions/encode 1.2 ms 1 ms +18.05%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing ab/extension-serialization-cache (d98ef26) with main (3aa55e9)

Open in CodSpeed