有没有适用于 macOS 的 KCacheGrind 替代品?
我正在寻找 KCacheGrind 替代品,或者至少是 macOS 的二进制包?
我想将 KCacheGrind 与 XDebug 一起用于 PHP,但 macOS 是正确的环境...
谢谢
编辑:我知道我可以使用 MacPort,但我正在寻找这种痛苦安装的替代方案。
也许是“以 mac 方式”的东西
I'm looking for a KCacheGrind alternative, or at least a binary package for macOS?
I'd to use KCacheGrind with XDebug for PHP, but macOS is the right environnement here...
Thank you
Edit: I know I can use MacPort but I'm looking for an alternative of this painful installation.
Maybe something "in the mac way"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
您可以使用 MacPorts 安装 KCacheGrind:
还有一些替代方案,例如:
XHProf:PHP 的分层分析器(
pecl install xhprof
)MCG 高级应用程序可以在 Mac 上本地分析您的应用程序配置文件数据(发布到 < a href="https://itunes.apple.com/us/app/mcg/id799178412?ls=1&mt=12" rel="noreferrer">Mac App Store)
旧版:MacCallGrind(半商业替代品,免费版本,数量有限3MB 研磨文件)
图片:MCG主页
另请参阅:你们有类似 kcachegrind 的 mac 分析工具
You can install KCacheGrind using MacPorts:
There are also some alternatives like:
brew install qcachegrind
); See: installation steps on OS X.XHProf: A Hierarchical Profiler for PHP (
pecl install xhprof
)MCG premium app can analyse your application profile data natively on your Mac (released to the Mac App Store)
Older: MacCallGrind (semi-commercial alternative, free version which is limited to 3MB grind files)
Image: Homepage of MCG
See also: do you have kcachegrind like profiling tools for mac
您可能想查看 WebGrind
You might want to check out WebGrind
另一个高级替代方案是 ProfilingViewer,可在 Mac App Store 上找到。处理多种类型的成本。可以将数据显示为树图、调用图、火焰图、热图,可以隐藏系统功能,并具有带有成本注释的源文件查看器。可以创建 PDF。速度快且内存占用小。
Another premium alternative is ProfilingViewer, available on the Mac App Store. Handles multiple types of costs. Can display the data as Treemap, Callgraph, Flamegraph, Heatmap, can hide system functions and has a source file viewer annotated with the costs. Can create PDF's. Fast and has a small memory footprint.
qcachegrind 是 kcachegrind 的基于 qt 的“表兄弟”。工作起来就像一种享受。
qcachegrind is the qt based 'cousin' of kcachegrind. Works like a treat.
MacCallGrind 和 WebGrind 是 MacOS 的真正最佳答案。
我无法评论 kenorb 答案,所以我必须做出新的答案。
MacCallGrind 到 MacUpdate 的链接是错误的 - 他们的价格比开发者网站上的价格高得多 (http://www.maccallgrind.com/< /a>)。
我个人发现 MacCallGrind 研磨机功能与 Transmit (http://panic.com/transmit/) 结合起来非常有用功能 - 将 ssh/sftp 安装为磁盘。它会自动打开出现在远程位置的每个新的缓存研磨文件。
MacCallGrind and WebGrind is the true best answers for MacOS.
I can't comment kenorb answer so I have to make new one.
MacCallGrind link to MacUpdate is wrong - their's price is much higher then from developers site (http://www.maccallgrind.com/).
I personally find MacCallGrind grinder feature very useful in combine with Transmit (http://panic.com/transmit/) feature - mount ssh/sftp as disk. It automatically opens every new cache grind file that appears at remote location.
您现在也可以使用 macports 安装 qcachegrind:
该应用程序应该出现在应用程序的 Macports 文件夹中
You can now install qcachegrind with macports as well:
The app should appear in the Macports folder of your Applications
KCacheGrind 的最佳替代品是 PhpStorm Xdebug 分析器,它与您的源代码集成,并且很容易在 Magento 项目中找到缓慢的模块
The best alternative for KCacheGrind is PhpStorm Xdebug analyzer, that integrated with your source code and is very easy to find slow modules in your Magento project