I've just begun using XDebug + PHPStorm today to help debug a slow page on my app. Attached is the profiler data.
Am I interpreting correctly that 1,044 calls to number_format()
are taking 116.5 seconds? 0.10 seconds per call? That seems extremely slow for a native PHP function.
Other calls are performing slowly too, 1,619 calls to abs()
taking 254.8 seconds (0.15 seconds per call).
This is my first attempt at profiling, what is a good way to approach improving my code to fix these load times? I'm running WAMP, for what it's worth.
Thank you! :)