perf(store): reserve the prekey map for a batch insert - #1270
Merged
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Aug 10, 2026 in 0s
Performance Gate Passed
✅ 236 untouched benchmarks
🆕 6 new benchmarks
⏩ 2 skipped benchmarks1
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| 🆕 | Memory | store_prekeys_batch[64] |
N/A | 5.3 KB | N/A |
| 🆕 | Memory | store_prekeys_batch[812] |
N/A | 41.1 KB | N/A |
| 🆕 | Memory | store_prekeys_batch/populated |
N/A | 82.1 KB | N/A |
| 🆕 | Simulation | store_prekeys_batch[64] |
N/A | 13.2 µs | N/A |
| 🆕 | Simulation | store_prekeys_batch[812] |
N/A | 96.5 µs | N/A |
| 🆕 | Simulation | store_prekeys_batch/populated |
N/A | 163.5 µs | N/A |
Comparing claude/prekeys-batch-hashmap-reserve-co85yl (4dfd8b5) with main (5f15719)
Footnotes
-
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. ↩
Loading