Description
Basic profiler for WordPress Plugins. Benchmarks any given plugin by testing response times with and without the plugin activated.
Plugin Profiler is on GitHub.
Bug reports (and pull requests) are welcomed on the Plugin Profiler GitHub repository.
Please note that GitHub is not a support forum.
Profiling a plugin
This plugin measures response times of any URL on your website in the following ways.
- No plugins activated
- Only the selected plugin(s) activated
- All but the selected plugin(s) activated
- All plugins activated
It then plots the response times in a chart and calculates the average response time time difference.
While this way of profiling a plugin is very low-tech it can be interesting to measure the impact of a plugin on your sites response time.
Please note that this way of benchmarking leaves a lot of factors out like additional HTTP requests caused by a plugin, etc..
Installing Plugin Profiler
Since this plugin needs to filter out which plugins are activated for the profiling requests, it needs to be installed as a must-use plugin so its loaded early.
Have a look at the installation instructions for details.
More information
- Developers; follow or contribute to the Plugin Profiler plugin on GitHub
- Other WordPress plugins by Danny van Kooten
- @DannyvanKooten on Twitter
Screenshots
Installation
Installing Plugin Profiler
- In your WordPress admin panel, go to Plugins > New Plugin, search for Plugin Profiler and click Install now
- Alternatively, download the plugin and upload the contents of
plugin-profiler.zip
to your plugins directory, which usually is/wp-content/plugins/
. -
Create the file
/wp-content/mu-plugins/profiler.php
with the following contents.if( ! defined( ABSPATH ) ) {
exit;
}// load the plugin profiler plugin early
require_once WP_PLUGIN_DIR . /plugin-profiler/plugin-profiler.php; -
Go to Tools > Plugin Profiler, set some configurations for the profile to run and have a look!
FAQ
-
Please report it on GitHub issues if its not in the list of known issues.
-
Please open a topic on the WordPress.org plugin support forums.