![]()
WP-PHPQuickProfiler is a WordPress plugin that uses a modified version of PHP Quick Profiler to provide profiling and debugging related information to developers.
Notice: I do not recommend using this plugin on public environments as it may expose information that may compromise the security of the installation.
plugin features
- Load Time Tracking – Based on WordPress debug functions
- Database Logging – Modified to work with WordPress database function. Check out the instructions below on how to enable it
- Admins Only – Only administrators (with
activate_pluginprivileges) get to view it. You can disable it by editing the plugin file.
Instructions
- Extract the ZIP package and place
wp-phpquickprofilerfolder into your WordPress plugins directory:/wp-content/plugins/ - If you want to enable database logging, you will need to add this line into your wp-config file:
define('SAVEQUERIES', 'SAVEQUERIES', false); - Go to the plugins menu and activate the plugin.
- If you are a developer and would like to log data into the console, you will need to include the
Consoleclass at/wp-content/plugins/wp-phpquickprofiler/classes/Console.phpand use the class functions.
Requirements
- WordPress 2.7 and above (not sure about earlier versions, I have not tested it)
- PHP5 (I have tweaked the code for PHP4 support but I have not tested it too)
Great job!! I noticed though on one of my wordpress websites, it shows up on the Homepage when logged in, but on another site, it doens’t…any ideas why?
It only shows up when you are logged in by default.
I was logged in….on one of my sites it showed up on the homepage when logged in, on another, it didn;t…
Wow, this is a really nice plugin, I like the smooth “Web 2.0″ design. My only issue was that in the Admin panel it would often double-stack itself with 2 debug windows, and block the bottom (no way to move/disable that?) making me fear that I wouldnt be able to disable the plugin again. But i have a high resolution monitor so I was able to do it.
Now I’m not sure if this is possible but it would really be nice to see a PHP debug breakdown, so we can see where the bottlenecks lie. On my site it is 90+% PHP time and only the remainder spent on MySQL.