LiipFunctionalTestBundle
LiipFunctionalTestBundle copied to clipboard
Performance problem with container.dumper.inline_class_loader
I'v just migrated a project from Symfony 3.4 to 4.2. My test suite executed 5-6x longer. After investigation I discovered that parameter container.dumper.inline_class_loader
with value true
is the reason.
It's now a part of Flex recipe for FrameworkBundle: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/4.2/src/Kernel.php#L31
I think that it's worth consider to add information about that to documentation.
@pawel-winiecki I'm sorry but I don't understand, can you please explain the link between container.dumper.inline_class_loader
and this bundle? What would you want to see in the documentation?
I'm subscribing to this issue as I'm observing similar results in substantially longer test times between 3.4 & 4.2. Test logs show far more entries with far more time spent in doctrine:debug entries.
I've noticed a big performance drop when upgrading from Symfony 4.3 to 4.4. I'm unsure if it's related to this issue though. The main problem is a big increase in the memory usage of my tests. See symfony/symfony#35164 for more info.