Quantcast
Viewing all articles
Browse latest Browse all 293221

Optimize dfac()/menu_router_rebuild() calls during a WebTestBase::setUp()

Looks we're currently calling that function 3 times during a test installation, _install_profile_modules_finished(), install_finished() and resetAll(). This results in 3 router rebuilds for every test method, among other things.

Wondering if we can remove some of them and replace with more targeted cache clears. This function makes up ~35% of the whole test time on a test with 3 test methods.


Viewing all articles
Browse latest Browse all 293221

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>