synapse/changelog.d
Val Lorentz cb8e274c07
Speedup tests by caching HomeServerConfig instances (#15284)
These two lines:

```
config_obj = HomeServerConfig()
config_obj.parse_config_dict(config, "", "")
```

are called many times with the exact same value for `config`.

As the test suite is CPU-bound and non-negligeably time is spent in
`parse_config_dict`, this saves ~5% on the overall runtime of the Trial
test suite (tested with both `-j2` and `-j12` on a 12t CPU).

This is sadly rather limited, as the cache cannot be shared between
processes (it contains at least jinja2.Template and RLock objects which
aren't pickleable), and Trial tends to run close tests in different
processes.
2023-04-18 13:50:27 +00:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
15181.bugfix Delete server-side backup keys when deactivating an account. (#15181) 2023-04-04 20:16:08 +00:00
15284.misc Speedup tests by caching HomeServerConfig instances (#15284) 2023-04-18 13:50:27 +00:00
15333.feature Load /directory/room/{roomAlias} endpoint on workers (#15333) 2023-04-14 10:24:06 +01:00
15372.misc Bump black from 23.1.0 to 23.3.0 (#15372) 2023-04-10 08:37:42 -04:00
15373.misc Bump pyopenssl from 23.1.0 to 23.1.1 (#15373) 2023-04-06 20:14:49 +01:00
15374.misc Bump types-psycopg2 from 2.9.21.8 to 2.9.21.9 (#15374) 2023-04-06 19:09:24 +01:00
15375.misc Bump types-netaddr from 0.8.0.6 to 0.8.0.7 (#15375) 2023-04-06 19:08:59 +01:00
15376.misc Bump types-opentracing from 2.4.10.3 to 2.4.10.4 (#15376) 2023-04-06 19:08:28 +01:00
15382.misc Don't keep old stream_ordering_to_exterm around (#15382) 2023-04-06 16:42:39 +00:00
15393.misc Implement MSC3989 to redact the origin field. (#15393) 2023-04-05 14:42:46 -04:00
15394.misc Implement MSC2175: remove the creator field from create events. (#15394) 2023-04-06 16:26:28 -04:00
15395.misc Implement MSC2174: move redacts to a content property. (#15395) 2023-04-13 13:47:07 +00:00
15404.misc Bump dawidd6/action-download-artifact from 2.26.0 to 2.26.1 (#15404) 2023-04-06 17:50:39 +01:00
15405.removal Remove registration fallback code. (#15405) 2023-04-13 11:36:29 -04:00
15406.misc Trust dtolnay/rust-toolchain (#15406) 2023-04-06 19:41:29 +01:00
15409.misc Attempt to fix weird mypy failures on ignored files. (#15409) 2023-04-10 08:25:08 -04:00
15410.bugfix Delete pushers after calling on_logged_out module hook on device delete (#15410) 2023-04-14 14:12:37 +02:00
15412.misc Bump parameterized from 0.8.1 to 0.9.0 (#15412) 2023-04-10 09:19:02 -04:00
15413.misc Bump types-pillow from 9.4.0.17 to 9.4.0.19 (#15413) 2023-04-10 09:18:40 -04:00
15414.misc Bump sentry-sdk from 1.17.0 to 1.19.1 (#15414) 2023-04-10 09:36:05 -04:00
15415.misc Bump immutabledict from 2.2.3 to 2.2.4 (#15415) 2023-04-10 09:36:56 -04:00
15421.misc Only load the SSO redirect servlet if SSO is enabled. (#15421) 2023-04-13 13:08:00 +00:00
15423.bugfix Improve robustness when handling a perspective key response by deduplicating received server keys. (#15423) 2023-04-13 15:35:03 +01:00
15425.bugfix Throw if the appservice config list is the wrong type (#15425) 2023-04-12 11:28:46 +00:00
15427.misc Refactor SimpleHttpClient to pull out reusable methods (#15427) 2023-04-14 20:46:04 +00:00
15428.bugfix Disable loading RefreshTokenServlet on workers (#15428) 2023-04-13 13:28:55 +02:00
15429.misc Add comma missing from #15382. (#15429) 2023-04-13 15:06:25 +01:00
15431.feature Switch InstanceLocationConfig to a pydantic BaseModel (#15431) 2023-04-17 23:53:43 +00:00
15432.misc More precise type for LoggingTransaction.execute (#15432) 2023-04-14 18:04:49 +00:00
15433.misc Convert async to normal tests in TestSSOHandler (#15433) 2023-04-14 10:48:35 +00:00
15435.misc User directory background update speedup (#15435) 2023-04-14 16:10:32 +01:00
15436.feature Load /capabilities endpoint on workers (#15436) 2023-04-14 12:26:07 -04:00
15438.misc Disable directory listing for StaticResource (#15438) 2023-04-14 13:49:47 -04:00
15441.misc Bump dawidd6/action-download-artifact from 2.26.1 to 2.27.0 (#15441) 2023-04-17 10:53:13 +01:00
15442.misc Bump serde_json from 1.0.95 to 1.0.96 (#15442) 2023-04-17 10:52:35 +01:00
15443.misc Bump serde from 1.0.159 to 1.0.160 (#15443) 2023-04-17 10:53:40 +01:00
15444.misc Bump pillow from 9.4.0 to 9.5.0 (#15444) 2023-04-17 10:54:35 +01:00
15445.misc Bump furo from 2023.3.23 to 2023.3.27 (#15445) 2023-04-17 10:55:03 +01:00
15446.misc Bump types-pyopenssl from 23.1.0.0 to 23.1.0.2 (#15446) 2023-04-17 10:55:22 +01:00
15447.misc Bump mypy from 1.0.0 to 1.0.1 (#15447) 2023-04-17 10:57:14 +01:00
15448.misc Bump psycopg2 from 2.9.5 to 2.9.6 (#15448) 2023-04-17 10:55:54 +01:00
15452.doc Add a note to the config documentation that the 'delete_stale_devices_after' job always runs on the main process (#15452) 2023-04-17 18:16:02 -06:00
15453.misc Move Spam Checker callbacks to a dedicated file (#15453) 2023-04-18 00:57:40 +00:00