[LRUG] Profiling tools on OS X

Matt Wynne matt at mattwynne.net
Thu Aug 13 10:31:11 PDT 2009


I tried installing kcachegrind using macports and it went on pretty  
smoothly.

     sudo port install kcachegrind

You have to run it as root for some weird reason.


On 13 Aug 2009, at 14:18, Murray Steele wrote:

> After Taryn's talk I had a quick look this morning at OS X profiling  
> tools.  The OS X developer tools come with a profiling tool called  
> Shark which looks remarkably similar to kcachegrind, but it doesn't  
> read callgrind files :(  Although you can run it against your ruby  
> processes, it only understands C so the results aren't particularly  
> useful.  It does however read .mshark files, which if someone was so  
> inclined it might be a fun project to add that output format to ruby- 
> prof.  (I know nothing about .mshark files - this might be  
> impossible).
>
> The next thing would be to try Mac Call Grind : http://www.maccallgrind.com/ 
>  I googled this, but didn't install.  It might be a bit limited, but  
> could be more useful than trying to install the whole of KDE.  Also,  
> there's work going on to properly support os x in valgrind: http://blog.mozilla.com/nnethercote/2009/05/28/mac-os-x-now-supported-on-the-valgrind-trunk/ 
>  (again, I google, but didn't install).
>
> Anyone else got any tips?
>
> Muz
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org

cheers,
Matt Wynne

http://mattwynne.net
+447974 430184




More information about the Chat mailing list