Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP性能监控--xhprof分析 #19

Open
fredshare opened this issue Dec 14, 2014 · 0 comments
Open

PHP性能监控--xhprof分析 #19

fredshare opened this issue Dec 14, 2014 · 0 comments
Labels

Comments

@fredshare
Copy link
Owner

PHP性能监控--xhprof分析

  • xhprof数据如下:
    请求总揽:

函数调用情况:

  • 参数含义

    Inclusive Time 包括子函数所有执行时间。
    Exclusive Time/Self Time函数执行本身花费的时间,不包括子树执行时间。
    Wall时间 花去了的时间或挂钟时间。
    CPU时间 用户耗的时间+内核耗的时间
    Function Name 函数名
    Calls 调用次数
    Calls% 调用百分比
    Incl. Wall Time 调用的包括子函数所有花费时间,以微秒算(一百万分之一秒)
    IWall% 调用的包括子函数所有花费时间的百分比
    Excl. Wall Time 函数执行本身花费的时间,不包括子树执行时间,以微秒算
    EWall% 函数执行本身花费的时间的百分比不包括子树执行时间
    Incl. CPU 调用的包括子函数所有花费的cpu时间。减Incl. Wall Time即为等待cpu的时间减Excl. Wall Time即为等待cpu的时间ICpu% Incl. CPU(microsecs)的百分比
    Excl. CPU 函数执行本身花费的cpu时间,不包括子树执行时间,以微秒算。
    ECPU% Excl. CPU的百分比
    Incl.MemUse 包括子函数执行使用的内存
    IMemUse% Incl.MemUse的百分比
    Excl.MemUse 函数执行本身内存,以字节算
    EMemUse% Excl.MemUse的百分比
    Incl.PeakMemUse Incl.MemUse的峰值
    IPeakMemUse% Incl.PeakMemUse的峰值百分比
    Excl.PeakMemUse Excl.MemUse的峰值
    EPeakMemUse% EMemUse%峰值百分比

  • 数据主要查看的参数是:wall time和cpu time

  • 图片查看:性能有问题的最严重的模块是红色,其次是黄色(可查看附件)

@fredshare fredshare added the blog label Feb 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant