我已经设置了xdebug和webgrind,并且我已经生成了一个配置文件,这样我就可以开始提高代码执行的速度。我已经在webgrind中显示了个人资料,但我不知道它是什么意思。我做的所有谷歌搜索也不能真正解释这一切。
有人能解释一下阅读webgrind报告的基础知识吗:
调用计数
总自身成本
总包含性成本
不同颜色的含义
彩色条的含义
呼叫
呼叫总成本
计数
发布于 2011-08-17 22:49:34
基本输出列出了所有不同的函数、方法和included/required文件。
- **Blue** are PHP internal functions
- **Green** are your class methods
- **Orange** are procedural functions
- **Grey** is time taken to `include`, or `require` .php files.
如上所述,
- **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.
https://stackoverflow.com/questions/7094600
复制相似问题