php-orm-benchmark icon indicating copy to clipboard operation
php-orm-benchmark copied to clipboard

Add Metrics about database

Open mpoiriert opened this issue 6 years ago • 0 comments

Normally the issue on big project is the scalping of the database not as much the frontal server where php executed.

What would be interesting (minimally) is the amount of queries made when the orm is properly configure. Mean if I have a relation on another table does it do a join or a extra queries ? If I am reloading a the same entity again by primary key does it load it from a pool of instances (context cache) or hitting the database again ? Etc.

Using blackfire would help.

mpoiriert avatar Mar 16 '18 10:03 mpoiriert