[wp-hackers] wordpress optimizations

Matt Mullenweg m at mullenweg.com
Sun Apr 17 18:02:49 GMT 2005

Podz wrote:
> The query counter - is that a measure ? Is less better or can the count 
> be higher but more efficient ? The counter has been there since a long 
> time ago yet has recieved little attention - maybe some explanation and 
> examples would be good ? And what has the timer got to do with it ?

The query counter also has a timer for each query. Most queries take a 
completely insignificant amount of time, so targetting just the # would be 
premature optimization. (The root of all evil.) The bulk of WP overhead 
comes from the large number of includes and lines of code. Making things 
load more intelligently has been improving with every release.

Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://pingomatic.com | http://cnet.com

More information about the wp-hackers mailing list