开发者

TTFB - Track run time on php functions

I need to track the php functions run time to locate Time to First Byte pr开发者_Python百科oblems?


You have two major options:

  1. xdebug, one of the best PHP debuggers out there, suitable for running in a dev environment.
  2. xhprof, a tool designed by the Facebook folks, suitable for running on both dev and production servers. More docs

Both of these will let you gather performance metrics on your script, including how much time is spent inside each native PHP function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜