diff options
author | Erik Johnston <erik@matrix.org> | 2022-08-16 12:22:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-16 12:22:17 +0100 |
commit | 5442891cbca67d3af27c448791589e0b9abeb7f8 (patch) | |
tree | 1f06227c03e9f0dc263f51f7321aeb8e946f3496 /synapse/streams | |
parent | Use Pydantic to systematically validate a first batch of endpoints in `synaps... (diff) | |
download | synapse-5442891cbca67d3af27c448791589e0b9abeb7f8.tar.xz |
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.
Diffstat (limited to 'synapse/streams')
0 files changed, 0 insertions, 0 deletions