We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(8)
我最终在 OSX 上使用 qcachegrind。它可以通过brew安装
,或者启用graphviz支持:
这个程序的优点是我在我的MacBook Pro上成功加载了6.1GB的cachegrind文件!相当光滑!
I ended up using qcachegrind on OSX. It can be installed via brew
or, to enable graphviz support:
What's great about this program is that I successfully loaded a 6.1GB cachegrind file on my MacBook Pro! Pretty slick!
尝试 qcachegrind + Graphviz 杀手组合。
它通过brew 安装很快,这很好。
查看这些< /a> 指令,基本上通过以下方式安装:
这将下载其他依赖项,例如
qt
和graphviz
。Try the qcachegrind + Graphviz killer combo.
It installs quickly via brew, which is nice.
Check out these instructions, basically install it via:
which will download other dependencies such as
qt
andgraphviz
.您可以使用 MacPorts 安装 KCacheGrind。
还有一些替代方案,例如:
brew install qcachegrind
)XHProf:PHP 的分层分析器(
pecl install xhprof
)MCG 高级应用程序可以在 Mac 上本地分析您的应用程序配置文件数据(发布到 Mac App Store,售价 27 美元)
分析查看器,可在应用程序上使用商店售价 25 美元
旧版:MacCallGrind(半商业替代品,免费版本,数量有限3MB 研磨文件)
图片:MCG主页
另请参阅:有没有适用于 Mac Os X 的 KCacheGrind 替代品?
You can install KCacheGrind using MacPorts.
There are also some alternatives like:
brew install qcachegrind
)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 at $27)
Profiling Viewer, available on App Store at $25
Older: MacCallGrind (semi-commercial alternative, free version which is limited to 3MB grind files)
Image: Homepage of MCG
See also: Is there any KCacheGrind alternative for Mac Os X outta there?
valgrind 和 kcachegrind 都适用于 Mac OS X。
您可以使用 MacPorts 安装它们:
Both valgrind and kcachegrind are available for Mac OS X.
You can install them using MacPorts:
Webgrind 在 PHP 中运行,可以读取 XDebug 的 cachegrind 输出。它目前不提供 KCacheGrind 的所有功能,但安装起来超级简单,而且似乎有更新的活动。
Webgrind runs in PHP and can read the cachegrind output of XDebug. It currently doesn't offer all the functionality of KCacheGrind, but it is super simple to install, and seems to have renewed activity.
MacCallGrind 是适用于 Mac 的半商业替代品。我已经尝试过免费版本,该版本仅限 3MB 的研磨文件。就功能而言,它大致相当于 WinCacheGrind。
MacCallGrind is a semi-commercial alternative available for the Mac. I've experimented with the free version which is limited to 3MB grind files. It's roughly equivalent to WinCacheGrind in terms of functionality.
Apple 提供 Instruments 用于监控运行时分配东西并查找泄漏,Shark 用于显式分析和 Guard Malloc(直接内置于 Xcode 中)用于内存分配调试。这些都是开发人员工具的一部分。
Apple supply Instruments for monitoring runtime allocation of stuff and finding leaks, Shark for explicit profiling and Guard Malloc (directly built into Xcode) for memory allocation debugging. These all come as part of the developer tools.
valgrind 适用于 Mac。如果你正在构建一个cocoa应用程序,你可以使用XCode附带的工具,比如leaks,它们非常好。
valgrind is available for the mac. If you are building a cocoa app, you can use the tools that come with XCode such as leaks, they are very good.