mediawiki-extensions-Secure.../tests/phpunit
thiemowmde e5df1df69e Lazy load large domains.php file only when it's really needed
I have seen this popping up once in a recent flame graph. I think most
services should be designed in a way that they can be instantiated
very quickly and only start doing expensive stuff when we are sure we
really need it. This was not the case here. The file domains.php is
about 150,000 lines long and can take several 100ms to load in the
worst case.

Bug: T200758
Change-Id: I7c0c787230e8cff40e8e73fede0ac1dce63ea1ca
2023-06-14 22:19:40 -04:00
..
DomainsTest.php tests: Replace assertRegExp with assertMatchesRegularExpression 2022-10-08 23:55:14 +01:00
HooksTest.php tests: Make PHPUnit data providers static 2023-05-20 14:02:30 +02:00
HSTSPreloadLookupTest.php Lazy load large domains.php file only when it's really needed 2023-06-14 22:19:40 -04:00