Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need kcachegrind like profiling tools for mac [closed]

Need suggestion on tools similar to kcachegrind wingrind valgrind for mac platform.

I don't think these work on mac, I already checked these.

like image 668
indianwebdevil Avatar asked Dec 17 '10 17:12

indianwebdevil


People also ask

What is QCacheGrind?

QCacheGrind is part of the valgrind suite of tools. Valgrind started out as a set of tools to do memory profiling, mostly of C programs. A file format, callgrind, was developed in order to store and analyze the output from valgrind.

How do I run KCacheGrind?

You can launch KCacheGrind using command line or in the program menu if your system installed it here. Then, you have to open your profile file. The first view present a list of all the profiled functions. You can see the inclusive and the self cost of each function and the location of each one.


1 Answers

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!

like image 151
mr-sk Avatar answered Sep 30 '22 07:09

mr-sk