anonymousland-synapse/tests/util
Erik Johnston f85b6ca494 Speed up cache size calculation
Instead of calculating the size of the cache repeatedly, which can take
a long time now that it can use a callback, instead cache the size and
update that on insertion and deletion.

This requires changing the cache descriptors to have two caches, one for
pending deferreds and the other for the actual values. There's no reason
to evict from the pending deferreds as they won't take up any more
memory.
2017-01-17 11:18:13 +00:00
..
__init__.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_dict_cache.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00: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 Fix test 2016-02-09 14:57:43 +00:00
test_lrucache.py Speed up cache size calculation 2017-01-17 11:18:13 +00:00
test_rwlock.py Add ReadWriteLock 2016-07-05 15:23:17 +01:00
test_snapshot_cache.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00: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