Had to quickly get the execution time of certain segments of code so I whipped up this basic profiling class below. Usage would go something like: <?php $profiler = new cProfiler; $profiler->start(); // … long block of code … $et = $profiler->end(); echo ‘longBlock et = ‘.$et.’<br>’; ?> Class listing cProfiler.php: <?php class cProfiler { [...]