Slow PHP and XDebug profiler data interpretation

I just started using XDebug + PHPStorm today to help debug a slow page in my application. Profiler data is attached.

Am I correct in interpreting that 1,044 calls do not number_format()

take 116.5 seconds? 0.10 seconds per call? It seems very slow for native PHP function.

Other calls are also slow, with 1,619 calls per call abs()

, taking 254.8 seconds (0.15 seconds per call).

PHPStorm Xdebug Profiler Data

This is my first attempt at profiling, what is a good way to come close to improving my code to fix this load time? I'm running WAMP for what it's worth.



source to share

All Articles