首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在webgrind中读取xdebug配置文件?

如何在webgrind中读取xdebug配置文件?
EN

Stack Overflow用户
提问于 2011-08-17 22:33:22
回答 1查看 13.4K关注 0票数 55

我已经设置了xdebug和webgrind,并且我已经生成了一个配置文件,这样我就可以开始提高代码执行的速度。我已经在webgrind中显示了个人资料,但我不知道它是什么意思。我做的所有谷歌搜索也不能真正解释这一切。

有人能解释一下阅读webgrind报告的基础知识吗:

调用计数

总自身成本

总包含性成本

不同颜色的含义

彩色条的含义

呼叫

呼叫总成本

计数

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2011-08-17 22:49:34

基本输出列出了所有不同的函数、方法和included/required文件。

  • Invocation Count:函数被调用的次数called
  • Total Self Cost:在此函数中执行原始php所用的总时间(执行其他自定义函数所用的时间为excluded.)
  • Total Inclusive Cost:总时间,包括调用的任何其他函数(PHP ,or functions)
  • What different colours mean?

代码语言:javascript
复制
- **Blue** are PHP internal functions
- **Green** are your class methods
- **Orange** are procedural functions
- **Grey** is time taken to `include`, or `require` .php files.

如上所述,

  • What彩色条表示每种类型的时间分解的图形显示。
  • 对于最后一个函数,我假设您已经单击箭头打开了一个特定的函数-

代码语言:javascript
复制
- **Calls:** The functions/methods called in executing this function
- **Total Call Cost:** The total time executing this function, when called from the parent function
- **Count:** Number of times the parent calls the child.

票数 97
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7094600

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档