[wp-hackers] get_num_queries reports 80% increase?

DD32 wordpress at dd32.id.au
Sun Apr 27 04:11:03 GMT 2008


There has been no change in counting of SQL queries AFAIK, they're still  
all counted.

What has changed however, Is that the Disk-based Object cache was removed  
 from 2.5, So if you had it enabled previously, That would've cut down on  
the number of queries made significantly.

How many queries before/after are we talking about here? (And i assume it  
was 2.3.x you were using previously?)

D

On Sun, 27 Apr 2008 14:01:49 +1000, Mistah P <mistahp.hackers at gmail.com>  
wrote:

> Following the example of the Default theme, my custom theme uses
> get_num_queries() and timer_stop(1) in the footer. Since I updated to
> WP 2.5.1, I've seen the number of queries reported jump by about 80%.
> Execution time reported by timer_stop has stayed about the same, but
> that's not a terribly consistent metric anyway. I'm on a shared
> server, so I expect to see a lot of fluctuation in there.
>
> Has 2.5.1 really caused such a dramatic increase in queries, or has
> something changed about the way get_num_queries reports?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>




More information about the wp-hackers mailing list