Quick Way to Check WordPress Page Load Times

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:

Sign up for more WordPress wisdom

140+ Plugins & Themes

1 Response

That’s a great tip. Would footer.php work? Also, I suppose I could just send this to a file instead of having it echo to the page? How much overhead to the loading time do you think would a file write cost me or it won’t since that’s at the end of the page anyway?