Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 5442891

Browse files
authored
Make push rules use proper structures. (#13522)
This improves load times for push rules: | Version | Time per user | Time for 1k users | | -------------------- | ------------- | ----------------- | | Before | 138 µs | 138ms | | Now (with custom) | 2.11 µs | 2.11ms | | Now (without custom) | 49.7 ns | 0.05 ms | This therefore has a large impact on send times for rooms with large numbers of local users in the room.
1 parent d642ce4 commit 5442891

File tree

8 files changed

+494
-333
lines changed

8 files changed

+494
-333
lines changed

changelog.d/13522.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Improve performance of sending messages in rooms with thousands of local users.

0 commit comments

Comments
 (0)