This feature allows you to see how long each PHP or MYSQL command is taking to run on a page load. It allows you to easily pinpoint which part of the code is the major headache.
//Speed Optimization
if (!empty($debug) OR !empty($_GET['debug']))
{
define('BENCH', true);
define('BENCH_SIMPLE', false);
define('BENCH_DISPLAY_TYPE', 'F');
}
//Speed Optimization
Edit the top.inc.php and add this block of code above the line
/**
* Switching on the internal performance measurement mechanism
*/
define('BENCH', FALSE);