简体   繁体   English

Php Kcachegrind 安装工作流程

[英]Php Kcachegrind installation workflow

Mac environment (php v5.3.3).I need to analyze xdebug profiling logs.Reading around I understood that I should use Kcachegrind.I'm following a DevZone tutorial Profiling PHP applications with Xdebug .I got stuck at two specific points: Mac 环境(php v5.3.3)。我需要分析 xdebug 分析日志。阅读周围我知道我应该使用 Kcachegrind。我正在关注 DevZone 教程使用 Xdebug 分析 PHP 应用程序。我在两个特定点上卡住了:

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.

and

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 [..]
  • What's a system's packet manager?什么是系统的数据包管理器?

  • What's KDE libraries and how do I get them installed?什么是 KDE 库以及如何安装它们?

I would also know if I should use Kcachegrind 0.4.6 or 0.10.1 (full Valgrind package) or there are other profiling tools that you want to suggest.我还想知道我是否应该使用 Kcachegrind 0.4.6 或 0.10.1(完整的 Valgrind 包),或者还有其他您想要建议的分析工具。

thanks谢谢

Luca卢卡

Mac does have a packet manager ( MacPorts ), although you probably have to install that first. Mac 确实有一个数据包管理器 ( MacPorts ),尽管您可能必须先安装它。 If you use that to install KCacheGrind, it will install the KDE libraries as dependencies.如果您使用它来安装 KCacheGrind,它将安装 KDE 库作为依赖项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM