0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 09:24:04 +01:00
synapse/tests/util
Erik Johnston bbfe4e996c Make get_state_groups_from_groups faster.
Most of the time was spent copying a dict to filter out sentinel values
that indicated that keys did not exist in the dict. The sentinel values
were added to ensure that we cached the non-existence of keys.

By updating DictionaryCache to keep track of which keys were known to
not exist itself we can remove a dictionary copy.
2017-05-17 15:12:15 +01:00
..
caches Fix up tests 2017-03-30 14:14:46 +01:00
__init__.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_clock.py Fix time_bound_deferred to throw the right exception 2017-03-23 12:07:11 +00:00
test_dict_cache.py Make get_state_groups_from_groups faster. 2017-05-17 15:12:15 +01:00
test_expiring_cache.py Add ExpiringCache tests 2017-01-16 15:33:34 +00:00
test_limiter.py Add Limiter: limit concurrent access to resource 2016-11-10 16:29:51 +00:00
test_linearizer.py Deduplicate joins 2016-04-07 14:19:02 +01:00
test_log_context.py Stop preserve_fn leaking context into the reactor 2017-03-18 00:07:43 +00:00
test_lrucache.py Tidy up test 2017-01-17 11:50:18 +00:00
test_rwlock.py Add ReadWriteLock 2016-07-05 15:23:17 +01:00
test_snapshot_cache.py Fix up tests 2017-03-30 14:14:46 +01:00
test_treecache.py Add a test for TreeCache.__contains__ 2016-02-22 15:22:38 +00:00
test_wheel_timer.py Add wheeltimer impl 2016-02-17 14:29:28 +00:00