do you have kcachegrind like profiling tools for mac [closed]

旧巷老猫 提交于 2019-11-29 19:00:57
mr-sk

I ended up using qcachegrind on OSX. It can be installed via brew

brew install qcachegrind

or, to enable graphviz support:

brew install qcachegrind --with-graphviz

What's great about this program is that I successfully loaded a 6.1GB cachegrind file on my MacBook Pro! Pretty slick!

GlennR

Try the qcachegrind + Graphviz killer combo.

It installs quickly via brew, which is nice.

Check out these instructions, basically install it via:

brew install qcachegrind

which will download other dependencies such as qtand graphviz.

Both valgrind and kcachegrind are available for Mac OS X.

You can install them using MacPorts:

sudo port install valgrind kcachegrind
kenorb

You can install KCacheGrind using MacPorts.

There are also some alternatives like:

See also: Is there any KCacheGrind alternative for Mac Os X outta there?

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 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 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 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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!