Follow me at Twitter Arras Theme 1.4.1 is now live! http://bit.ly/CZsXx 2 days ago

WP-PHPQuickProfiler: PHP Profiling & Debugging in WordPress

screenshot

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_plugin privileges) get to view it. You can disable it by editing the plugin file.

Instructions

  1. Extract the ZIP package and place wp-phpquickprofiler folder into your WordPress plugins directory: /wp-content/plugins/
  2. If you want to enable database logging, you will need to add this line into your wp-config file: define('SAVEQUERIES', 'SAVEQUERIES', false);
  3. Go to the plugins menu and activate the plugin.
  4. If you are a developer and would like to log data into the console, you will need to include the Console class at /wp-content/plugins/wp-phpquickprofiler/classes/Console.php and 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)

Download WP-PHPQuickProfiler (0.5)

Development & Support

6 Comments
  1. Derek S says:

    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?

    Reply
  2. zy says:

    It only shows up when you are logged in by default.

    Reply
    • Derek S says:

      I was logged in….on one of my sites it showed up on the homepage when logged in, on another, it didn;t…

      Reply
  3. Josh says:

    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.

    Reply
Trackbacks / Pings
Leave a Reply




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting