synapse/tests
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
..
api Prevent user tokens being used as guest tokens (#1675) 2016-12-06 15:31:37 +00:00
appservice Make notify_interested_services faster 2016-08-17 17:20:50 +01:00
config Add function to load config without generating it 2016-06-09 18:50:38 +01:00
crypto Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
events Review comments 2016-11-22 13:42:11 +00:00
handlers Stop putting a time caveat on access tokens 2016-11-29 16:49:41 +00:00
metrics Change CacheMetrics to be quicker 2016-06-03 11:26:52 +01:00
replication Shuffle receipt handler around so that worker apps don't need to load it 2016-11-23 15:14:24 +00:00
rest Linearize updates to membership via PUT /state/ 2017-01-09 18:25:13 +00:00
storage Speed up cache size calculation 2017-01-17 11:18:13 +00:00
util Speed up cache size calculation 2017-01-17 11:18:13 +00:00
__init__.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_distributor.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_dns.py Tests 2016-04-06 10:12:30 +01:00
test_preview.py Fix crash in url preview when html tag has no text 2016-12-14 22:38:18 +01:00
test_state.py Correctly handle the difference between prev and current state 2016-08-31 14:26:22 +01:00
test_test_utils.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_types.py Remove redundated BaseHomeServer 2016-01-26 13:52:29 +00:00
unittest.py Slightly saner logging for unittests 2016-07-25 12:12:47 +01:00
utils.py Fix unit tests 2016-12-09 16:48:48 +00:00