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 1: Thread
#6517
Comparing
Hywan:feat-sdk-event-cache-flatten-threads
(
19d6050
) with
event-cache-refactoring
(
6a33b94
)
CodSpeed Performance Gauge
-2%
Untouched
50
No successful run was found on
event-cache-refactoring
(
94716fd
) during the generation of this report, so
main
(
6a33b94
) 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 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
+4%
931.9 µs
898.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache find_event_relations[SQLite][10 events, edits filter]
benchmarks/benches/event_cache.rs::event_cache::find_event_relations::Event cache room updates
CodSpeed Performance Gauge
+3%
988.9 µs
955.9 µ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
+2%
153.9 µs
151.1 µ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
+2%
6.2 ms
6.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk writing [none][10]
benchmarks/benches/linked_chunk.rs::event_cache::writing::Linked chunk writing
CodSpeed Performance Gauge
+2%
16.5 µs
16.2 µs
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
+1%
7.5 ms
7.4 ms
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 ms
7 ms
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%
864.8 µs
859.6 µ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
+1%
625.2 µs
621.9 µs
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
+1%
15 ms
14.9 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%
396.9 µs
394.8 µ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
0%
54.8 µs
54.6 µ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.1 µs
91.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache find_event_relations[SQLite][1000 events, #no filter]
benchmarks/benches/event_cache.rs::event_cache::find_event_relations::Event cache room updates
CodSpeed Performance Gauge
0%
68.9 ms
68.7 ms
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%
23 µs
22.9 µs
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.4 ms
73.2 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.2 µs
380.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk writing [sqlite store][10]
benchmarks/benches/linked_chunk.rs::event_cache::writing::Linked chunk writing
CodSpeed Performance Gauge
0%
596.7 µs
595.7 µs
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.
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.
Linked chunk writing [none][1000]
benchmarks/benches/linked_chunk.rs::event_cache::writing::Linked chunk writing
CodSpeed Performance Gauge
0%
869.9 µs
869.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk metadata loader[sqlite store][100]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
0%
195.7 µs
195.7 µs
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%
576.2 ms
576.3 ms
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.5 ms
56.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Linked chunk writing [sqlite store][1000]
benchmarks/benches/linked_chunk.rs::event_cache::writing::Linked chunk writing
CodSpeed Performance Gauge
0%
35.8 ms
35.9 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
6a33b94
-1.9%
chore(sdk): Make Clippy happy :-).
19d6050
15 hours ago
by Hywan
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs