Courses

Better Eloquent Performance

avatar

So we came from 31 queries done in 11.6 ms to 2 queries done in 23.53 ms? Can you please clarify this? Greetings Povilas, thanks for all the work you do!

avatar

Hm, interesting catch, never really looked from that angle, I went for minimizing the queries. Perhaps for more realistic scenarios, for bigger databases, the time for those 31 queries would be much longer.