0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 14:03:54 +01:00
synapse/tests
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
..
api use jsonschema.FormatChecker for RoomID and UserID strings 2017-03-23 11:42:41 -03:00
appservice Add extra space before inline comment 2017-11-16 18:22:40 +00:00
config Fix broken config UTs 2018-01-09 11:28:33 +00:00
crypto Optimise LoggingContext creation and copying 2018-01-16 15:49:42 +00:00
events Optimise state resolution 2017-01-17 13:22:19 +00:00
handlers try make tests work a bit more... 2017-12-04 17:10:03 +00:00
metrics Change CacheMetrics to be quicker 2016-06-03 11:26:52 +01:00
replication Remove test of replication resource 2017-04-11 10:59:27 +01:00
rest Remove dead code 2018-01-09 12:06:45 +00:00
storage Fix tests for Store.__init__ update 2017-11-13 10:46:08 +00:00
util Optimise LoggingContext creation and copying 2018-01-16 15:49:42 +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 Do an AAAA lookup on SRV record targets (#2462) 2017-09-22 20:26:47 +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 Fix typing tests 2017-05-26 10:02:04 +01:00
test_test_utils.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_types.py Validate group ids when parsing 2017-10-21 00:30:39 +01:00
unittest.py enable twisted delayedcall debugging in UTs 2018-01-09 12:06:45 +00:00
utils.py Disable user_directory updates for UTs 2018-01-09 12:06:45 +00:00