php-orm-benchmark
php-orm-benchmark copied to clipboard
Remove all queries to get table schema
Some ORMs exec queries to get table schema like below:
SHOW FULL COLUMNS FROM `post`
We should configure all ORMs not to exec the queries like this.
Yii needs them to work but can cache them. So the first request will still execute these. Speed then differs dependend on the cache used so it gets even harder to get a fair benchmark.
There could be warmup query before testing.