Repository navigation
Huge tests degradation after updating to doctrine/orm:3.5.0 #12069
|
Hello. Anybody face same problem - after updating from doctrine/orm:3.4.4 to doctrine/orm:3.5.0 my phpunit tests (coverage enabled) become running 3x slower (12+ minutes vs 4 minute). I use https://github.com/dmaicher/doctrine-test-bundle and zenstruck/foundry |
Replies: 4 comments 3 replies
|
@dmitryuk your projets phpunit tests, or the Doctrine Unit Tests? Without some profiling information this is a needle haystack search problem. Are you using native lazy objects with 8.4 or the Symfony Var Exporter based ones? It would be helpful if you run this before and after with Tideways or php-spx (or any other see https://tideways.com/the-6-best-php-profilers). |
|
You could try narrowing the issue down by applying this: https://dev.to/greg0ire/bisecting-vendors-12kd |
|
Give me a time, I will prepare a report or find a proper commit |
|
Finally I have found an issue commit I I removed the condition in isNativeLazyObjectsEnabled everyting is fine, overwise - 3x slower. |


Yes, it helped me. But anyway changes were not to be expected so and not easy to detect