Page load speed:
function tr_head() {
$GLOBALS['tr_time_start'] = microtime( true );
}
add_action( 'wp_head', 'tr_head' );
function tr_footer() {
$start = $GLOBALS['tr_time_start'];
$end = microtime( true );
echo sprintf( '<p>Page generated in %0.2f seconds.</p>',
$end - $start
);
}
add_action( 'wp_footer', 'tr_footer' );