Php Kcachegrind安装工作流程

时间:2011-06-04 21:01:53

标签: php profiling xdebug kcachegrind

Mac环境(php v5.3.3)。我需要分析xdebug profiling logs.Reading我知道我应该使用Kcachegrind。我正在关注DevZone教程Profiling PHP applications with Xdebug。我陷入了两个特定点:

If possible, use your system's packet manager to install the KCachegrind package.
KCachegrind uses GraphViz to draw the call graphs, so you must also install the 
GraphViz package if your packet manager does not automatically install it as a 
required dependecy.

As you can see, the path to the KDE libraries on your system is required. 
To configure the KCachegrind sources. If you are not sure where the KDE 
libraries are located on your system, use [..]
  • 什么是系统的数据包管理器?

  • 什么是KDE库以及如何安装它们?

我也知道我是否应该使用Kcachegrind 0.4.6或0.10.1(完整的Valgrind软件包),或者你想建议其他的分析工具。

感谢

卢卡

1 个答案:

答案 0 :(得分:0)

Mac确实有一个数据包管理器(MacPorts),尽管您可能必须先安装它。如果您使用它来安装KCacheGrind,它将安装KDE库作为依赖项。