Xdebug supports 9 profiling modes, that can be used to quickly isolate the cause of the problem.