3 ms·
These are some brutal results for CakePHP (which I use). However, in practice no intermediate developer would be issuing queries like that in a loop. They would
by systematical 14y ago
These are some brutal results for CakePHP (which I use). However, in practice no intermediate developer would be issuing queries like that in a loop. They would loop through a set of data, building a IN statement example: WHERE field IN ('x','y','z'). Thus only sending a single query to the database. Still, the Cake developers really need to improve the speed of their framework.
- pekk 14y agoI keep seeing numbers like this in benchmarks over the last few years, it would be great to see CakePHP's numbers "rehabilitated" using techniques like you discuss.
- systematical 14y agoIt's a fair way of testing, its just not the way a developer would write it in practice. Clearly disregards the "Big O".
- slashclee 14y agoSend a pull request, then.