mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-19 01:21:09 +03:00
c2e5e9e67c
Performance optimization: We can avoid fetching rooms that the user has left themselves (which could be a significant amount), then only add back rooms that the user has `newly_left` (left in the token range of an incremental sync). It's a lot faster to fetch less rooms than fetch them all and throw them away in most cases. Since the user only leaves a room (or is state reset out) once in a blue moon, we can avoid a lot of work. Based on @erikjohnston's branch, erikj/ss_perf --------- Co-authored-by: Erik Johnston <erik@matrix.org> |
||
---|---|---|
.. | ||
__init__.py | ||
test_connection_tracking.py | ||
test_extension_account_data.py | ||
test_extension_e2ee.py | ||
test_extension_receipts.py | ||
test_extension_to_device.py | ||
test_extension_typing.py | ||
test_extensions.py | ||
test_lists_filters.py | ||
test_room_subscriptions.py | ||
test_rooms_invites.py | ||
test_rooms_meta.py | ||
test_rooms_required_state.py | ||
test_rooms_timeline.py | ||
test_sliding_sync.py |