We need to have some kind of tooling for development purposes which can provide information on performance issues and bottlenecks
We also need to extend the tests to ensure that this profiling works and also perhaps have tests that actually actively check client project for doctrine based performance issues
Finally, we should extend the PHPQA based static analysis to actively check for performance (and other) problems
We need to have some kind of tooling for development purposes which can provide information on performance issues and bottlenecks
We also need to extend the tests to ensure that this profiling works and also perhaps have tests that actually actively check client project for doctrine based performance issues
Finally, we should extend the PHPQA based static analysis to actively check for performance (and other) problems
see
Tooling: https://github.com/pixers/PixersDoctrineProfilerBundle
Articles: http://labs.octivi.com/mastering-symfony2-performance-doctrine/ https://tideways.io/profiler/blog/5-doctrine-orm-performance-traps-you-should-avoid https://ocramius.github.io/blog/doctrine-orm-optimization-hydration/ https://www.slideshare.net/marcinchwedziak/effective-doctrine2-performance-tips-for-symfony2-developers-33907944
Docs: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/improving-performance.html#improving-performance
Static Analysis: https://packagist.org/packages/stesie/phpstan-doctrine-checker https://github.com/phpstan/phpstan-doctrine