UsageDD

Description

UsageDD allows administrators to monitor the resource usage of their WordPress installation. It will add a line at the bottom of each page, only visible to administrators, that displays the number of MySQL queries, the amount of memory used by the page’s code, and if your server supports it, the “time to first byte” and the time required to generate the page.

You can use the display to determine if your site has too many plugins loaded, if your theme is too “heavy”, or if something is wrong on your server. The plugin itself uses virtually no resources and should be compatible with every theme and plugin.

If you are using PHP 5.4+ and a compatible webserver (most are compatible), UsageDD will display the CPU time required to output the entire page. Front-end pages will also display the CPU time required to output headers to the browser, also known as “time to first byte”. This time is used by Google for page-ranking purposes, and it will be the first of the two times displayed.

Installation

Install UsageDD as you would any other plugin. UsageDD has some configuration options that are documented in the usagedd.php file. There are no admin option panels or language files — those would require resources, and UsageDD was designed to have as little impact as possible on your resource usage.

When two execution times are displayed, the first number is “time to first byte” and the second number is the total execution time. Both numbers are in seconds.

FAQ

Installation Instructions

Install UsageDD as you would any other plugin. UsageDD has some configuration options that are documented in the usagedd.php file. There are no admin option panels or language files — those would require resources, and UsageDD was designed to have as little impact as possible on your resource usage.

When two execution times are displayed, the first number is “time to first byte” and the second number is the total execution time. Both numbers are in seconds.

How accurate are the numbers?

The number of queries reported is 100% accurate. The execution times and memory usage reported are slightly lower than the actual numbers due to the limitations imposed on WordPress plugins. However, the “time to first byte” reported should be within a couple milliseconds of the actual number.

Please note that the execution time numbers are only for your server. The numbers you see from other sites like Google Pagespeed and GTMetrix include many other things. If you want to approximate the “time to first byte” number used by these services, add 0.05 seconds to the number reported by UsageDD.

What do the numbers mean?

The “time to first byte” number is explained in the question above. The memory number will give you an idea of how large your site is. The number of queries will give you an idea of whether you are having MySQL problems. The number should ideally be under 50. You will start to see problems if the number is above 75. If it is above 100, you may have an issue with your theme and/or plugins.

Contributors & Developers

“UsageDD” is open source software. The following people have contributed to this plugin.

Contributors

Translate “UsageDD” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.

Changelog

1.1

Page usage display now compatible with virtually all themes. Much improved AJAX usage display.

1.0

First publicly-available version.