matrix-org
matrix-rust-sdk
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat(sdk): Implement persistent storage for `ThreadEventCache`
#6317
Comparing
Hywan:feat-sdk-event-cache-thread-persistent-storage
(
7fe2c70
) with
main
(
ec3657d
)
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.
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%
983.3 µs
962.1 µ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%
926.2 µs
907.3 µ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
+1%
6.2 µs
6.1 µs
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.
Device keys query [SQLite][153 device and cross signing keys]
benchmarks/benches/crypto_bench.rs::benches::keys_query::Keys querying
CodSpeed Performance Gauge
0%
38.7 ms
38.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.3 µs
16.2 µs
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.7 ms
99.4 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
0%
55.1 ms
55 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.6 ms
7.5 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%
398.6 µs
397.7 µs
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%
223.1 ms
222.6 ms
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.3 µs
622.9 µ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.9 µs
54.8 µ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%
74.1 ms
74 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.
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%
69.5 ms
69.4 ms
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.
Linked chunk metadata loader[memory store][100]
benchmarks/benches/linked_chunk.rs::event_cache::reading::Linked chunk reading
CodSpeed Performance Gauge
0%
23.9 µs
23.9 µ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
0%
7.1 ms
7.1 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%
835.9 ms
834.8 ms
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.3 µs
595.7 µ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%
53 ms
52.9 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%
27.3 ms
27.3 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.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Event cache find_event_relations[memory][100 events, edits filter]
benchmarks/benches/event_cache.rs::event_cache::find_event_relations::Event cache room updates
CodSpeed Performance Gauge
0%
53 ms
52.9 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
ec3657d
+0.15%
doc(sdk): Update an inline comment.
5a8b3af
15 days ago
by Hywan
+0.64%
feat(sdk): A redacted event in a thread is no longer removed: it's updated.
12a1ef0
11 days ago
by Hywan
-0.73%
chore(sdk): Make Clippy happy.
7fe2c70
10 days ago
by Hywan
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs