Tool to profile php code

前端 未结 4 1491
遇见更好的自我
遇见更好的自我 2021-01-28 00:05

Looking for some [freeware/opensource] tool in order to make it easy to profile a big php project on win32 platform. Need to find out which part of code is most time consuming.

4条回答
  •  一个人的身影
    2021-01-28 00:49

    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?

提交回复
热议问题