>
Download This Plugin | |
Download Elegant Themes | |
Name | MySQL Profiler |
Version | 1.0 |
Author | Tom Benner |
Rating | 100 |
Last updated | 2012-03-06 08:16:00 |
Downloads |
3738
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
MySQL Profiler plugin added 25 bytes of resources to the Home page and 19 bytes of resources to the sample Post page.
MySQL Profiler plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! MySQL Profiler plugin ads no tables to your Wordpress blog database.MySQL Profiler displays debugging information about SQL queries to admin WordPress users. For each query, the profiler displays the time, syntax-highlighted SQL, and a trace of the functions (as well as the file and line number that the functions were called from) that were called.
The list can be sorted by any of its columns, so you can, for example:
The list can also filtered by typing in the search box, so you can, for example:
To turn off syntax highlighting, put the following in wp-config.php:
define('MP_HIGHLIGHT_SYNTAX', false);
To omit the file and line number from the function trace and display the functions as a comma-separated list (to save vertical space), define the following in wp-config.php:
define('MP_DISPLAY_FILES', false);
This plugin was loosely based on Frank Bueltge's Debug Queries plugin, so a hearty thanks to him for the development of that.
If you'd like to grab development releases, see what new features are being added, or browse the source code please visit/follow the GitHub repo.