php-orm-benchmark
php-orm-benchmark copied to clipboard
Add Metrics about database
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.