Is there any KCacheGrind alternative for Mac Os X outta there?

醉酒当歌 提交于 2019-12-04 16:17:27

问题


I'm looking for a KCacheGrind alternative, or at least a binary package for Mac Os X?

I'd to use KCacheGrind with XDebug for PHP, but Mac Os X 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"


回答1:


You can install KCacheGrind using MacPorts:

sudo port install valgrind kcachegrind4

There are also some alternatives like:

  • WebGrind
  • qcachegrind (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




回答2:


You might want to check out WebGrind

Webgrind is an Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms.




回答3:


qcachegrind is the qt based 'cousin' of kcachegrind. Works like a treat.




回答4:


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.




回答5:


Another premium alternative is ProfilingViewer, available on the Mac App Store. Handles multiple types of costs. Can display the data as Treemap, Callgraph, 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.




回答6:


You can now install qcachegrind with macports as well:

sudo port selfupdate
sudo port install graphviz qcachegrind

The app should appear in the Macports folder of your Applications



来源:https://stackoverflow.com/questions/5426799/is-there-any-kcachegrind-alternative-for-mac-os-x-outta-there

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