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

Remove all queries to get table schema

Open kenjis opened this issue 10 years ago • 2 comments

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.

kenjis avatar Dec 11 '15 03:12 kenjis

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.

cebe avatar Dec 12 '15 01:12 cebe

There could be warmup query before testing.

samdark avatar Dec 22 '15 18:12 samdark