Display # of queries and exec time
//add this to wp-config.php
define( 'SAVEQUERIES', true );
//add this to footer.php
<?php
if ( current_user_can( 'administrator' ) ) {
global $wpdb;
echo "<pre>";
print_r( $wpdb->queries );
echo "</pre>";
}
?>