synapse/tests/util
Richard van der Hoff 44a498418c Optimise LoggingContext creation and copying
It turns out that the only thing we use the __dict__ of LoggingContext for is
`request`, and given we create lots of LoggingContexts and then copy them every
time we do a db transaction or log line, using the __dict__ seems a bit
redundant. Let's try to optimise things by making the request attribute
explicit.
2018-01-16 15:49:42 +00: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 Fix stackoverflow and logcontexts from linearizer 2017-10-11 15:05:05 +01:00
test_logcontext.py Optimise LoggingContext creation and copying 2018-01-16 15:49:42 +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