I\'ve noticed that a few Wordpress blogs have query statistics present in their footer that simply state the number of queries and the total time required to process them for th
To explain pix0r's code:
$wpdb->num_queries is the number of database queries.
$wpdb->num_queries
_e is for localization: http://faq.wordpress.net/view.php?p=50
_e
timer_stop() returns the amount of time taken to render the page: http://codex.wordpress.org/Function_Reference/timer_stop
timer_stop()