Wordpress mechanic - running slowly?

Posted on November 27, 2008
Filed Under mechanic |

So you think you have a slow running wordpress install. How do you quantify the slow ‘feel’ of the site before you start ranting at your host?

Here is a single line of code you can add to your theme footer to tell you how long your page took to pull together.

<p>The WP monkeys took <?php timer_stop(1) ?>s to build this!</p>

This adds a simple line to the very bottom of your site with - surprisingly enough - the time it took to build your page.

But what is a slow time? Worry about anything over a second. Worry a bit about anything over half a second. Under half a second and you’ll be fine unless you have a very busy blog.

Comments

Leave a Reply




0.323