Top

Daily Tip: Quick Way to Check WordPress Page Load Times

April 3, 2010

Have you got a sluggish page on your installation? Are you curious to check out its loading time and the number of queries it’s sending? Just drop this little tag anywhere within one of your theme’s template files and it will display how many SQL queries are being executed and how long it takes. This is a handy little diagnostic check you can set up and remove or leave it in the footer of your page, whatever you like:

<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds

Tweet This Post

Comments

Got something to say?

Bottom
Article Archive  |  This site is a historical archive of pressography.com, a WordPress plugin and theme blog that published between 2006 and 2012. It is preserved for reference and is not operated by, affiliated with, or endorsed by its original authors. Nothing here is for sale and no form on this site is active. If you are the original owner and would like this domain returned, please get in touch.