Tool to profile php code

北城余情 提交于 2019-12-02 10:40:29

You'll want to install and configure Xdebug. It's sort of the de-facto standard PHP debugging and profiling tool.

WinCacheGrind can crunch the profiling output. It's a bit buggy, but it does the job.

xdebug works quite well http://xdebug.org

Also wincachegrind is a good tool for looking through the profiler's output. http://sourceforge.net/projects/wincachegrind/

As well as (if the profile file is small) webgrind http://code.google.com/p/webgrind/

In addition to the excellent xdebug (as mentioned by others), you can also look at xhprof.

Mike Dunlavey

Yes, use XDebug, and once you're in it, use this technique, which works on any platform.

Don't think of it as measuring time.

Think of it as trying to ask, predominantly, What is it doing, and Why is it doing it?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!