Skip to content

perf(core): reduce history sync and decrypt allocation churn - #1058

Merged
jlucaso1 merged 11 commits into
mainfrom
agent/reduce-history-sync-allocation-churn
Jul 20, 2026
Merged

perf(core): reduce history sync and decrypt allocation churn#1058
jlucaso1 merged 11 commits into
mainfrom
agent/reduce-history-sync-allocation-churn

refactor(storage): clarify message secret chunk loop

fc567be
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Jul 20, 2026 in 0s

Performance Gate Passed

⚡ 1 improved benchmark
✅ 189 untouched benchmarks
🆕 8 new benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Memory bench_history_sync_stream_drain 243.8 KB 115.2 KB ×2.1
🆕 Memory bench_history_sync_extract_then_wire_drain N/A 1.8 MB N/A
🆕 Memory bench_history_sync_wire_stream_drain N/A 8 B N/A
🆕 Memory bench_process_history_sync_visit_records N/A 0 B N/A
🆕 Simulation bench_history_sync_extract_then_wire_drain N/A 44.4 ms N/A
🆕 Simulation bench_history_sync_wire_stream_drain N/A 18 ms N/A
🆕 Simulation bench_process_history_sync_visit_records N/A 25.1 ms N/A
🆕 Memory bench_dm_decrypt_owned_subsequent_message N/A 933 B N/A
🆕 Simulation bench_dm_decrypt_owned_subsequent_message N/A 58.5 µs N/A

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 agent/reduce-history-sync-allocation-churn (fc567be) with main (123ec76)

Open in CodSpeed