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.

Thank!:)

+3
performance debugging profiling php phpstorm


source to share


No one has answered this question yet

Check out similar questions:

4270
Link. What does this symbol mean in PHP?
3295
Why is the Android emulator so slow? How can we speed up the development of an Android emulator?
2847
Improve SQLite performance per second per second?
2776
How can I prevent SQL injection in PHP?
2414
Why shouldn't I use the mysql_ * functions in PHP?
2335
Removing an element from an array in PHP
1709
How can I profile C ++ code running on Linux?
1406
Why does changing 0.1f to 0 slow down performance by 10x?
1183
How can you profile a Python script?
581
What is the recommended Python memory profiler?



All Articles
Loading...
X
Show
Funny
Dev
Pics