matrix-org
matrix-rust-sdk
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat(sdk): Flatten the hierarchy of caches in the Event Cache, part 3: Event-focused
#6603
Merged
Comparing
Hywan:features/event-cache-refactoring-flatten-event-focused
(
420c093
) with
features/event-cache-refactoring
(
1205c2b
)
CodSpeed Performance Gauge
-1%
Untouched
50
No successful run was found on
features/event-cache-refactoring
(
28e82f4
) during the generation of this report, so
main
(
1205c2b
) was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
50 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache room updates[memory][room count: 10]
benchmarks/benches/event_cache.rs::event_cache::handle_room_updates::Event cache room updates
CodSpeed Performance Gauge
-14%
236.2 ms
275.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache room updates[memory][room count: 100]
benchmarks/benches/event_cache.rs::event_cache::handle_room_updates::Event cache room updates
CodSpeed Performance Gauge
-14%
2.4 s
2.8 s
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
-14%
23.4 ms
27.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache room updates[SQLite][room count: 1]
benchmarks/benches/event_cache.rs::event_cache::handle_room_updates::Event cache room updates
CodSpeed Performance Gauge
-10%
54.8 ms
60.9 ms
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
-8%
6.8 s
7.4 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache room updates[SQLite][room count: 10]
benchmarks/benches/event_cache.rs::event_cache::handle_room_updates::Event cache room updates
CodSpeed Performance Gauge
-6%
605.6 ms
643.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk lazy loader[memory store][100]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
+5%
208.1 µs
198.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk metadata loader[memory store][10]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
-3%
5.5 µs
5.7 µ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%
152.2 µs
153.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Create[1000 rooms × 1000 events]
benchmarks/benches/room_list.rs::room_list::create::RoomList
CodSpeed Performance Gauge
+1%
6.2 ms
6.2 ms
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
+1%
399.5 µs
396.5 µs
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
+1%
382.7 µs
379.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk lazy loader[memory store][10]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
-1%
35.4 µs
35.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache find_event_relations[SQLite][100 events, #no filter]
benchmarks/benches/event_cache.rs::event_cache::find_event_relations::Event cache room updates
CodSpeed Performance Gauge
+1%
7.1 ms
7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache find_event_relations[SQLite][10 events, #no filter]
benchmarks/benches/event_cache.rs::event_cache::find_event_relations::Event cache room updates
CodSpeed Performance Gauge
-1%
936.4 µs
942.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Create a timeline with initial events[10000 events]
benchmarks/benches/timeline.rs::room::create_timeline_with_initial_events::Create a timeline
CodSpeed Performance Gauge
+1%
852 ms
847 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.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk writing [sqlite store][100]
benchmarks/benches/linked_chunk.rs::event_cache::writing::Linked chunk writing
CodSpeed Performance Gauge
0%
3.3 ms
3.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk lazy loader[sqlite store][1000]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
0%
15 ms
14.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache find_event_relations[SQLite][1000 events, edits filter]
benchmarks/benches/event_cache.rs::event_cache::find_event_relations::Event cache room updates
CodSpeed Performance Gauge
0%
73.7 ms
73.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Device keys query [memory][153 device and cross signing keys]
benchmarks/benches/crypto_bench.rs::benches::keys_query::Keys querying
CodSpeed Performance Gauge
0%
30.3 ms
30.4 ms
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
0%
55.2 µs
55.3 µ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
0%
22.4 µs
22.3 µs
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%
92.3 µs
92.1 µs
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.5 ms
46.6 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
1205c2b
-1.34%
doc(sdk): Fix a typo in the documentation of `Caches::all_events`.
420c093
1 month ago
by Hywan
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs