matrix-org
matrix-rust-sdk
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix(event cache): don't deadlock when event-focused cache and redecryption are invoked
#6542
Merged
Comparing
bnjbvr:bnjbvr/fix-deadlock-with-ef-cache-and-redecryptor
(
bba09c9
) with
main
(
2ec031b
)
CodSpeed Performance Gauge
0%
Untouched
50
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
50 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk lazy loader[sqlite store][10]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
+5%
415.5 µs
394.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache room updates[SQLite][room count: 100]
benchmarks/benches/event_cache.rs::event_cache::handle_room_updates::Event cache room updates
CodSpeed Performance Gauge
+1%
6.9 s
6.9 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk metadata loader[memory store][1000]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
+1%
860.1 µs
850.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk metadata loader[sqlite store][10]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
+1%
153.1 µs
151.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk metadata loader[memory store][100]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
+1%
22.9 µs
22.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk writing [memory store][10]
benchmarks/benches/linked_chunk.rs::event_cache::writing::Linked chunk writing
CodSpeed Performance Gauge
+1%
54.8 µs
54.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk lazy loader[sqlite store][100]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
0%
1.7 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk lazy loader[memory store][1000]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Device keys query [SQLite][153 device and cross signing keys]
benchmarks/benches/crypto_bench.rs::benches::keys_query::Keys querying
CodSpeed Performance Gauge
0%
41.6 ms
41.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache find_event_relations[SQLite][100 events, edits filter]
benchmarks/benches/event_cache.rs::event_cache::find_event_relations::Event cache room updates
CodSpeed Performance Gauge
0%
7.5 ms
7.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache room updates[memory][room count: 1]
benchmarks/benches/event_cache.rs::event_cache::handle_room_updates::Event cache room updates
CodSpeed Performance Gauge
0%
23 ms
23 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Restore session [SQLite][clear]
benchmarks/benches/store_bench.rs::benches::restore_session::Client reload
CodSpeed Performance Gauge
0%
577.5 ms
576.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Devices collecting [SQLite][2003 devices]
benchmarks/benches/crypto_bench.rs::benches::devices_missing_sessions_collecting::Devices missing sessions collecting
CodSpeed Performance Gauge
0%
99.2 ms
99.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk writing [memory store][100]
benchmarks/benches/linked_chunk.rs::event_cache::writing::Linked chunk writing
CodSpeed Performance Gauge
0%
381.1 µs
380.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Restore session [SQLite][encrypted]
benchmarks/benches/store_bench.rs::benches::restore_session::Client reload
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Room key sharing [SQLite][163 devices]
benchmarks/benches/crypto_bench.rs::benches::room_key_sharing::Room key sharing
CodSpeed Performance Gauge
0%
56.7 ms
56.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Devices collecting [memory][2003 devices]
benchmarks/benches/crypto_bench.rs::benches::devices_missing_sessions_collecting::Devices missing sessions collecting
CodSpeed Performance Gauge
0%
10.5 ms
10.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache find_event_relations[memory][10 events, #no filter]
benchmarks/benches/event_cache.rs::event_cache::find_event_relations::Event cache room updates
CodSpeed Performance Gauge
0%
3.9 ms
3.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Room key sharing [memory][163 devices]
benchmarks/benches/crypto_bench.rs::benches::room_key_sharing::Room key sharing
CodSpeed Performance Gauge
0%
46.6 ms
46.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache find_event_relations[memory][1000 events, #no filter]
benchmarks/benches/event_cache.rs::event_cache::find_event_relations::Event cache room updates
CodSpeed Performance Gauge
0%
2.5 s
2.5 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache find_event_relations[memory][1000 events, edits filter]
benchmarks/benches/event_cache.rs::event_cache::find_event_relations::Event cache room updates
CodSpeed Performance Gauge
0%
2.5 s
2.5 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk writing [memory store][1000]
benchmarks/benches/linked_chunk.rs::event_cache::writing::Linked chunk writing
CodSpeed Performance Gauge
0%
3.8 ms
3.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk writing [none][100]
benchmarks/benches/linked_chunk.rs::event_cache::writing::Linked chunk writing
CodSpeed Performance Gauge
0%
91.8 µs
91.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk metadata loader[sqlite store][1000]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
0%
624 µs
624.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache find_event_relations[memory][100 events, #no filter]
benchmarks/benches/event_cache.rs::event_cache::find_event_relations::Event cache room updates
CodSpeed Performance Gauge
0%
52.8 ms
52.9 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
2ec031b
+0.03%
fix(event cache): don't deadlock when event-focused cache and redecryption are invoked
bba09c9
19 hours ago
by bnjbvr
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs