PHP Class WPProfiler
This records basic execution time, and a summary of the actions and SQL queries run within each block.
start() and stop() must be called in pairs, for example:
function something_to_profile() {
wppf_start(__FUNCTION__);
do_stuff();
wppf_stop();
}
Multiple profile blocks are permitted, and they may be nested.
Show file
Open project: lucatume/wp-browser
Public Properties
Public Methods
Method Details
__construct()
public method
_current_action()
public method
_dirty_objects_count()
public method
_query_count()
public method
_query_summary()
public method
array_add()
public method
array_sub()
public method
log_action()
public method
log_filter()
public method
microtime()
public method
print_summary()
public method
Property Details