perf(prekeys): avoid full record decode on the pre-key upload path - #900
Merged
Merged
CodSpeed HQ / CodSpeed Performance Analysis
completed
Jun 18, 2026 in 0s
Acknowledged Regression: -1.95%
⚠️ Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.
⚡ 2 improved benchmarks
❌ 1 (👁 1) regressed benchmark
✅ 185 untouched benchmarks
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | send_message[20] |
5.6 ms | 5 ms | +10.95% |
| ⚡ | Simulation | send_and_receive[1] |
871.5 µs | 788.4 µs | +10.53% |
| 👁 | Simulation | send_message[1] |
651.1 µs | 847 µs | -23.13% |
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 perf/prekey-upload-skip-full-decode (5f69f98) with main (931a5d6)
Loading