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

[Profiler] Show number of hydrated Doctrine entities #43307

Closed
NicoHaase opened this issue Oct 4, 2021 · 1 comment
Closed

[Profiler] Show number of hydrated Doctrine entities #43307

NicoHaase opened this issue Oct 4, 2021 · 1 comment

Comments

@NicoHaase
Copy link
Contributor

Description

In a current project, we try to enhance the database performance by lowering the number of hydrated entities (besides other optimizations). To quickly see whether this worked or not, we would like to see the number of hydrated entities in the Profiler, just like the number of queries and their execution time is gathered.

I'd love to hear your opinion about this. Did I configure something wrong, such that it is already implemented somewhere? Is this too complex to be handled? Or did nobody think about this before?

@stof
Copy link
Member

stof commented Oct 4, 2021

This is related to this ticket in DoctrineBundle: doctrine/DoctrineBundle#109 (it is about collecting timing for hydration, not counting the entities, but both need the same kind of extension points in the ORM). The ORM does not have the necessary extension point to hook the Symfony toolbar into the ORM hydration.

I'm closing this ticket as symfony/symfony is the wrong issue tracker for the Doctrine integration.

@stof stof closed this as completed Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants