Woshiadai Dev Notebook

May 19, 2009

cachegrind for Mac

Filed under: PHP

Start to learn how to do profiling and optimization for PHP code. Found Kcachegrind is handy to visualize XDebug data. There are other similar cachegrind tools:

1. Kcachegrind: you can get it from Macports, check out this if you don’t know how to get started with Macports. Note this might take a long time to install. In my case, I also need to install graphviz to see the call graph.

2. MacCallGrind: this displays the data in a table structure.

3. cachegrindvisualizer: this is a google code project, installed/coded using Adobe AIR, fairly cool UI. If you only need to see the call graph, you probably don’t need Kcachegrind anymore.

4. webgrind: a Web UI for the cachegrind data, also shows a table-like structure.

Comments »

The URI to TrackBack this entry is: http://woshiadai.blogsome.com/2009/05/19/cachegrind-for-mac/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>























Get free blog up and running in minutes with Blogsome
Theme designed by Ben de Groot