liip / liip/LiipFunctionalTestBundle

Performance problem with container.dumper.inline_class_loader

Open
#490 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
648
Forks
179
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Symfony Flex recipe's Kernel.php reference and the existing documentation in LiipFunctionalTestBundle. Document the test-suite performance impact of container.dumper.inline_class_loader=true and explain the relevant configuration context; done when users can find and understand this warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
documentation, testing
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.