Is there any KCacheGrind alternative for Mac Os X outta there?
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开发者_StackOverflow.
Maybe something "in the mac way"
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
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.
qcachegrind is the qt based 'cousin' of kcachegrind. Works like a treat.
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.
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.
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
精彩评论