function to profile / performance test PHP functions? -


I have no display problem, though I want to see how long it takes and how long it takes Memory uses CPU etc.

I already want to understand that things can be bottle necks and I can use it again to improve any code or make it ... (perfectionist)

I am looking for Creating a little function which can call at the beginning and end of each function:

  • Execution Time
  • Memory usage
  • CPU demand

Any ideas?

Post-text "itemprop =" text ">

A host solution has already been made for it, you want to see some of these:

< / P>

Profiler of Xdebug is a powerful tool that cap gives you the ability to analyze your PHP code and determine the constraints or In the usually sees to it that you can use to slow which parts of your code and boost speed.

Other resources:


Comments