Skip to content

Conversation

poljar
Copy link
Contributor

@poljar poljar commented Oct 3, 2025

This is very much a WIP PR. Eventually it will get split into different smaller PRs.

Things that still need to be addressed:

  • Don't load all events for a certain room when attempting to redecrypt events.
  • Decide what to do when the room key stream has lagged.
  • Handle the room key withheld stream as well.
  • Connect the UTD hook to the new redecryptor.
  • Port the timeline redecryption tests.
  • Completely remove the timeline redecryption logic.

Copy link

codspeed-hq bot commented Oct 3, 2025

CodSpeed Performance Report

Merging #5746 will degrade performances by 82.61%

Comparing poljar/event-cache/redecryptor (54f3b5f) with main (588d604)

Summary

❌ 6 regressions
✅ 44 untouched

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
Event cache find_event_relations[SQLite][10 events, #no filter] 1.2 ms 1.9 ms -40.33%
Event cache find_event_relations[SQLite][10 events, edits filter] 1.2 ms 2 ms -41.25%
Event cache find_event_relations[SQLite][100 events, #no filter] 7.9 ms 17.4 ms -54.82%
Event cache find_event_relations[SQLite][100 events, edits filter] 8.4 ms 17.9 ms -53.31%
Event cache find_event_relations[SQLite][1000 events, #no filter] 76.2 ms 438.4 ms -82.61%
Event cache find_event_relations[SQLite][1000 events, edits filter] 80.9 ms 447.8 ms -81.94%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant