Profiling PHP with Xdebug and Webgrind
Profiling your PHP apps with webgrind can help you identity what portions of your code are taking up the most execution time, and setting it up with XDebug couldn’t be easier. I am assuming you already have Xdebug installed… add to your php.ini… xdebug.profiler_enable = 0 xdebug.profiler_enable_trigger=1 xdebug.profiler_output_name = cachegrind.out.%t.%p …