matrix-org
matrix-rust-sdk
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: Parallelize creating stores to make session restoration faster
#6544
Merged
Comparing
perf/try-creating-stores-concurrently
(
3eaa4a3
) with
main
(
99cfce8
)
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[memory store][10]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
+3%
35.6 µs
34.6 µ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
+2%
981.5 µs
960.6 µs
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
+2%
920.2 µs
900.7 µ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
+1%
69.4 ms
68.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
+1%
73.9 ms
73.4 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.
Create a timeline with initial events[10000 events]
benchmarks/benches/timeline.rs::room::create_timeline_with_initial_events::Create a timeline
CodSpeed Performance Gauge
0%
787 ms
783.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Restore session [memory store]
benchmarks/benches/store_bench.rs::benches::restore_session::Client reload
CodSpeed Performance Gauge
0%
167.3 ms
166.7 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%
54.7 µs
54.5 µs
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
0%
55.2 ms
55.1 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.6 ms
10.5 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
0%
16.4 µs
16.4 µ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
0%
151.4 µs
151.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
0%
7.5 ms
7.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.9 ms
35.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
0%
395.5 µs
395.3 µ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.
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.
Linked chunk writing [sqlite store][10]
benchmarks/benches/linked_chunk.rs::event_cache::writing::Linked chunk writing
CodSpeed Performance Gauge
0%
596.4 µs
596.2 µ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.4 µs
195.4 µ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 µs
92 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache find_event_relations[memory][10 events, edits 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.
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.
Linked chunk writing [none][1000]
benchmarks/benches/linked_chunk.rs::event_cache::writing::Linked chunk writing
CodSpeed Performance Gauge
0%
869.9 µs
869.9 µ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
1
2
Commits
Click on a commit to change the comparison range
Base
main
99cfce8
+0.31%
perf: Parallelize creating stores to make session restoration faster
edeffe8
2 days ago
by jmartinesp
-0.32%
perf: Also init the `Client`'s fields in parallel
3eaa4a3
2 days ago
by jmartinesp
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs