Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance problem with container.dumper.inline_class_loader #490

Open
pawel-winiecki opened this issue Jan 18, 2019 · 3 comments
Open
Labels
Milestone

Comments

@pawel-winiecki
Copy link

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.

@alexislefebvre
Copy link
Collaborator

alexislefebvre commented Jan 18, 2019

@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?

@truckee
Copy link

truckee commented Jan 25, 2019

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.

@alexislefebvre alexislefebvre added this to the 2.0 milestone Jun 11, 2019
@ndench
Copy link
Contributor

ndench commented Jan 20, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants