PHP Profiling: Find Slow Code in Your Application
Profiling tools keep track of essential details like how long statements and functions take to run, how many times they're called, and so on. The output can be examined to determine where bottlenecks exist.