Profiles how much time to execute every hook takes. Warning: For PHP 5 only.
|Author:||Vladimir Kolesnikov (profile at wordpress.org)|
|WordPress version required:||2.7|
|WordPress version tested:||3.2.1|
|Added to WordPress repository:||03-11-2009|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|Total downloads:||1 181|
Click to start download
WordPress and bbPress plugin developers use two functions to extend WordPress/bbPress functionalty. These are
add_filter(). They are used to set up a hook which is triggered by some event.
The experience shows that hook execution takes signifacnt part of the page generation time. When there are few queries but the page generation is high, this plugin comes to the rescue.
Unlike WP Tuner, which needs to specify the events to profile explicitly, SJ Hook Profiler automatically detects all used hooks and sets up the handlers to measure their execution time.
By default the plugin is active only for the Administrator (WordPress) or Key Master (bbPress). This behavior can be changed by setting up a handler for
enable_hook_profiler filter. The handler should return
true if the hook profiler should be activated, or
None yet. Be the first to ask.
- Compatibility with WP 2.7.x
- Got rid of a PHP Warning in SjProfiler::end_profile().
- Improved performance a bit by using PHP code optimization
- First public release