Skip to content

perf(libsignal): memoize the sender signing key with a pre-warmed XEdDSA cache - #838

Merged
jlucaso1 merged 2 commits into
mainfrom
perf/sender-key-signing-cache
Jun 11, 2026
Merged

perf(libsignal): memoize the sender signing key with a pre-warmed XEdDSA cache#838
jlucaso1 merged 2 commits into
mainfrom
perf/sender-key-signing-cache

fix: redact the signing key from SenderKeyState's Debug output

d3ea6e7
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis completed Jun 11, 2026

Acknowledged regressions (+4.89% overall)

⚠️ 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

⚡ 5 improved benchmarks
❌ 2 (👁 2) regressed benchmarks
✅ 134 untouched benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation bench_group_encrypt_message 246.6 µs 156.6 µs +57.54%
Simulation bench_group_send_10 325.6 µs 243.8 µs +33.54%
Simulation bench_group_send_50 361.8 µs 279.6 µs +29.42%
Simulation bench_group_send_256 558.6 µs 476.6 µs +17.2%
Simulation bench_group_send_skdm_10 734.7 µs 653.8 µs +12.38%
👁 Memory bench_group_create_distribution_message 1.2 KB 1.8 KB -31.01%
👁 Simulation bench_group_create_distribution_message 110.4 µs 195.4 µs -43.52%

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/sender-key-signing-cache (d3ea6e7) with main (b9e0941)

Open in CodSpeed