View xdebug cachegrind files on Mac OS

Xdebug is key when it comes to optimizing PHP code. Today, I heard my colleague boot up a Windows machine just to run an application that could interpret a cachegrind file generated by our development server… surely there must be a Mac equivalent! The following instructions will let you interpret cachegrind files locally on your Mac. You’ll still have to download the cachegrind file locally from your server.

Note that I’m doing this on Mavericks 10.9.2. I will not explain how to install Xdebug on your server or how to create the cachegrind file.

First, install Homebrew on your machine. From your terminal, run :
[shell]
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
[/shell]

Then, run :
[shell]
brew install qcachegrind
brew install graphviz
[/shell]

Then, download your cachegrind file locally to your machine and, to view the output, simply execute

[shell]qcachegrind cachegrind.out.26620[/shell]

You will get something that looks like this :

Screenshot of what qcachegrind produces.
Screenshot of what qcachegrind produces.

Optimize away!

PS: For live debugging via xdebug, I use codebugapp.com.

1,595 thoughts on “View xdebug cachegrind files on Mac OS”

  1. Pingback: crash test dev
  2. Great blog right here! Additionally your website so much up fast! What web host are you the usage of? Can I get your affiliate link for your host? I wish my website loaded up as quickly as yours lol|

  3. Hello! I’ve been reading your web site for some time now and finally got the bravery to go ahead and give you a shout out from Humble Texas! Just wanted to mention keep up the excellent work!|

  4. Hi, Neat post. There is a problem with your site in internet explorer, might test this? IE nonetheless is the market leader and a large section of folks will leave out your magnificent writing because of this problem.|

  5. May I just say what a comfort to uncover someone who actually understands what they are discussing online. You certainly understand how to bring an issue to light and make it important. More and more people have to read this and understand this side of your story. I was surprised that you are not more popular since you definitely possess the gift.|

  6. Its such as you read my thoughts! You seem to grasp so much approximately this, like you wrote the e-book in it or something. I believe that you simply can do with some percent to force the message house a bit, however other than that, this is wonderful blog. A fantastic read. I’ll certainly be back.|

  7. Great weblog right here! Also your site rather a lot up very fast! What web host are you the use of? Can I get your associate hyperlink in your host? I want my web site loaded up as fast as yours lol|

  8. I am extremely impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you customize it yourself? Either way keep up the excellent quality writing, it is rare to see a nice blog like this one nowadays.|

  9. I really like your blog.. very nice colors & theme. Did you make this website yourself or did you hire someone to do it for you? Plz answer back as I’m looking to construct my own blog and would like to know where u got this from. cheers|

  10. Its like you read my mind! You seem to know so much about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a bit, but other than that, this is fantastic blog. A great read. I will definitely be back.|

  11. Right here is the right webpage for anybody who hopes to find out about this topic. You understand so much its almost tough to argue with you (not that I really would want to…HaHa). You definitely put a fresh spin on a topic that has been written about for many years. Wonderful stuff, just great!|

  12. Just wish to say your article is as surprising. The clearness on your publish is just spectacular and i could think you’re a professional on this subject. Fine together with your permission let me to grab your feed to keep up to date with imminent post. Thank you a million and please continue the rewarding work.|

  13. Hello there, simply turned into aware of your blog through Google, and found that it is truly informative. I’m going to watch out for brussels. I will appreciate for those who continue this in future. Numerous people will likely be benefited from your writing. Cheers!|

  14. Hello there, There’s no doubt that your site could be having internet browser compatibility problems. When I look at your website in Safari, it looks fine however, when opening in IE, it has some overlapping issues. I simply wanted to give you a quick heads up! Aside from that, excellent website!|

  15. What i don’t realize is actually how you’re not really a lot more well-preferred than you may be right now. You are so intelligent. You realize therefore significantly relating to this subject, produced me individually imagine it from numerous varied angles. Its like men and women aren’t interested until it’s one thing to do with Girl gaga! Your personal stuffs great. All the time handle it up!|

  16. Whats up this is somewhat of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding knowledge so I wanted to get advice from someone with experience. Any help would be enormously appreciated!|

  17. I was wondering if you ever thought of changing the structure of your site? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or two pictures. Maybe you could space it out better?|

  18. Wonderful beat ! I would like to apprentice even as you amend your website, how can i subscribe for a weblog site? The account helped me a acceptable deal. I were tiny bit acquainted of this your broadcast offered shiny clear concept|

  19. I’m really inspired together with your writing talents and also with the layout in your blog. Is that this a paid subject or did you modify it yourself? Either way stay up the excellent high quality writing, it is rare to peer a nice blog like this one today..|

  20. Hey There. I found your weblog using msn. That is a very smartly written article. I’ll make sure to bookmark it and return to learn extra of your helpful information. Thank you for the post. I will certainly return.|

  21. The other day, while I was at work, my cousin stole my iphone and tested to see if it can survive a 40 foot drop, just so she can be a youtube sensation. My apple ipad is now broken and she has 83 views. I know this is totally off topic but I had to share it with someone!|

  22. Howdy! This post could not be written any better! Reading through this post reminds me of my previous room mate! He always kept talking about this. I will forward this page to him. Fairly certain he will have a good read. Thank you for sharing!|

  23. First of all I would like to say great blog! I had a quick question that I’d like to ask if you do not mind. I was interested to find out how you center yourself and clear your mind before writing. I have had a hard time clearing my mind in getting my ideas out there. I do take pleasure in writing however it just seems like the first 10 to 15 minutes are usually wasted simply just trying to figure out how to begin. Any recommendations or hints? Thank you!|

  24. Hello there, just became aware of your blog through Google, and found that it’s truly informative. I am gonna watch out for brussels. I will appreciate if you continue this in future. Numerous people will be benefited from your writing. Cheers!|

  25. It is appropriate time to make some plans for the longer term and it is time to be happy. I’ve learn this publish and if I could I wish to recommend you some interesting issues or advice. Maybe you can write subsequent articles relating to this article. I wish to learn even more issues approximately it!|

  26. We stumbled over here from a different web page and thought I might as well check things out. I like what I see so i am just following you. Look forward to looking into your web page yet again.|

  27. I was curious if you ever thought of changing the page layout of your website? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or 2 images. Maybe you could space it out better?|

  28. I don’t know whether it’s just me or if perhaps everyone else experiencing issues with your blog. It looks like some of the written text on your posts are running off the screen. Can somebody else please comment and let me know if this is happening to them too? This may be a issue with my internet browser because I’ve had this happen before. Thank you|

  29. Hello just wanted to give you a quick heads up. The words in your article seem to be running off the screen in Ie. I’m not sure if this is a formatting issue or something to do with browser compatibility but I thought I’d post to let you know. The layout look great though! Hope you get the problem solved soon. Cheers|

  30. Undeniably believe that that you stated. Your favourite reason appeared to be at the internet the easiest factor to take note of. I say to you, I certainly get irked whilst other people consider worries that they just don’t recognize about. You controlled to hit the nail upon the top and also outlined out the entire thing without having side-effects , folks could take a signal. Will likely be back to get more. Thank you|

  31. I will right away grab your rss feed as I can not in finding your e-mail subscription link or newsletter service. Do you have any? Please let me realize so that I may just subscribe. Thanks.|

  32. Woah! I’m really loving the template/theme of this website. It’s simple, yet effective. A lot of times it’s tough to get that “perfect balance” between usability and appearance. I must say that you’ve done a awesome job with this. In addition, the blog loads very quick for me on Safari. Excellent Blog!|

  33. Hmm it looks like your website ate my first comment (it was super long) so I guess I’ll just sum it up what I wrote and say, I’m thoroughly enjoying your blog. I too am an aspiring blog blogger but I’m still new to everything. Do you have any tips and hints for beginner blog writers? I’d certainly appreciate it.|

  34. You are so interesting! I don’t believe I’ve read something like this before. So nice to find somebody with some unique thoughts on this subject matter. Seriously.. many thanks for starting this up. This web site is something that is required on the internet, someone with a little originality!|

  35. hi!,I really like your writing very so much! percentage we be in contact more about your article on AOL? I require an expert in this space to unravel my problem. May be that’s you! Having a look forward to peer you. |

  36. Hey there, I think your website might be having browser compatibility issues. When I look at your blog in Ie, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, excellent blog!|

  37. This design is wicked! You definitely know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Excellent job. I really loved what you had to say, and more than that, how you presented it. Too cool!|

  38. Pingback: Google
  39. Pingback: Google
  40. Pingback: cannabidiol oil
  41. Pingback: cbd oil
  42. Pingback: Vape hardware
  43. Pingback: forex trading
  44. Pingback: vibrator
  45. Pingback: Marijuana Strains
  46. Pingback: THC Vape Cartridge
  47. Pingback: Hydrocodone
  48. Pingback: Get it now
  49. Pingback: Agen Poker Pulsa
  50. Pingback: apple headquarters
  51. Pingback: satta king 686
  52. Pingback: firdous lawn
  53. Pingback: urdu dramas
  54. Pingback: gifts
  55. Pingback: butt plug
  56. Pingback: couples sex toys
  57. Pingback: increase DR fast
  58. Pingback: link referencyjny
  59. Pingback: viagra
  60. Pingback: viagra
  61. Pingback: viagra
  62. Pingback: Klik Disini
  63. Pingback: viagra
  64. Pingback: Almeta Hoefler
  65. Pingback: viagra
  66. Pingback: cbd for pain
  67. Pingback: marijuana
  68. Pingback: cananbis oil
  69. Pingback: LuckyCrush
  70. Pingback: Grand Daddy Purple
  71. Pingback: Vape Shops Near Me
  72. Pingback: 1P-LSD Blotters
  73. Pingback: Benefits of Vaping
  74. Pingback: Weed Wax
  75. Pingback: reshp xxx
  76. Pingback: learn more
  77. Pingback: adam and eve
  78. Pingback: Cherry Pie Strain
  79. Pingback: Joel Osteen Wife
  80. Pingback: نقل عفش
  81. Pingback: cannabidiol
  82. Pingback: cours de guitare
  83. Pingback: cbd oil
  84. Pingback: cannabidiol
  85. Pingback: pure cbd oil
  86. Pingback: cbd oil
  87. Pingback: cbd oil
  88. Pingback: SEO
  89. Pingback: fda registration
  90. Pingback: Jewelry
  91. Pingback: what is a samovar
  92. Pingback: bimetal hole saws
  93. Pingback: concert reviews
  94. Pingback: Do-si-dos Strain
  95. Pingback: leather wallet
  96. Pingback: smoke shop near me
  97. Pingback: malibu lyrics
  98. Pingback: robuw generator
  99. Pingback: INDIAN VISA
  100. Pingback: nerd gadgets
  101. Pingback: good lawyer
  102. Pingback: indian visa online
  103. Pingback: goata movement
  104. Pingback: Robux Hack
  105. Pingback: music theory
  106. Pingback: pet life today
  107. Pingback: quiz
  108. Pingback: cbd oil for dogs
  109. Pingback: cbd oil near me
  110. I just want to mention I am just very new to blogs and truly loved your blog. Probably I’m going to bookmark your blog . You amazingly have outstanding writings. Regards for revealing your website.

  111. Pingback: module prestashop
  112. Pingback: sri lanka kite
  113. Pingback: pornographie
  114. Pingback: Cato Lux
  115. Pingback: viralqq
  116. Thanks for your helpful post. Over time, I have come to understand that the actual symptoms of mesothelioma cancer are caused by this build up of fluid between the lining of the lung and the chest cavity. The infection may start within the chest vicinity and get distributed to other areas of the body. Other symptoms of pleural mesothelioma include fat reduction, severe breathing in trouble, fever, difficulty swallowing, and inflammation of the neck and face areas. It should be noted that some people having the disease tend not to experience almost any serious symptoms at all.

  117. Pingback: The Divide
  118. Pingback: what is pa seo
  119. Nice post. I was checking continuously this blog and I’m impressed! Very helpful information specifically the last part 🙂 I care for such info a lot. I was seeking this certain info for a very long time. Thank you and good luck.

  120. Pingback: THC Vape Oil
  121. Pingback: cbd isolate oil
  122. Pingback: hemp biomass
  123. Pingback: top sàn forex
  124. Pingback: suction cup dildos
  125. Pingback: hasta karyolası
  126. Pingback: best steroids uk
  127. Pingback: MrPornGeek
  128. Whats up very cool site!! Guy .. Beautiful .. Amazing .. I will bookmark your blog and take the feeds additionally¡KI’m glad to search out numerous useful information here in the publish, we’d like work out extra techniques in this regard, thanks for sharing. . . . . .

  129. Pingback: Designer Leather
  130. Fantastic beat ! I wish to apprentice while you amend your site, how can i subscribe for a blogwebsite? The account helped me a acceptable deal.I had been tiny bit acquainted of this your broadcast offered bright clearidea

  131. Pingback: acne
  132. Hi there I am so grateful I found your blog page, I really found you by accident, while I was browsing on Digg for something else, Nonetheless I am here now and would just like to say thanks for a fantastic post and a all round enjoyable blog (I also love the theme/design), I don’t have time to read through it all at the minute but I have saved it and also included your RSS feeds, so when I have time I will be back to read more, Please do keep up the great work.| а

  133. Pingback: fapidy.com
  134. Pingback: Dank Vapes
  135. Pingback: Logo design
  136. Good day I am so excited I found your blog, I really found you by mistake, while I was researching on Askjeeve for something else, Regardless I am here now and would just like to say thank you for a tremendous post and a all round enjoyable blog (I also love the theme/design), I don’t have time to browse it all at the moment but I have book-marked it and also added in your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the fantastic work.| а

  137. Pingback: private chef
  138. Pingback: tulpentour holland
  139. Pingback: Softwashing
  140. Pingback: e juice uk
  141. Pingback: stress management
  142. Pingback: CBD oil 1000mg
  143. Pingback: 25mg
  144. Pingback: strong CBD
  145. Thank you for sharing excellent informations. Your web site is so cool. I’m impressed by the details that you have on this site. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for more articles. You, my pal, ROCK! I found simply the information I already searched everywhere and just couldn’t come across. What a perfect web site.

  146. Hey! I know this is kind of off topic but I was wondering if you knew where I could find a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one? Thanks a lot!| а

  147. Pingback: RoyalCBD oil
  148. My brother recommended I might like this web site. He was totally right. This post actually made my day. You cann’t imagine just how much time I had spent for this information! Thanks!

  149. Pingback: Royal CBD gummies
  150. Pingback: how use vibrator
  151. Pingback: RoyalCBD
  152. I just intend to share it with you that I am new to wordpress blogging and genuinely valued your review. Very likely I am likely to save your blog post . You absolutely have stunning article material. Be Grateful For it for share-out with us the best internet site information

  153. I haven¡¦t checked in here for some time since I thought it was getting boring, but the last few posts are good quality so I guess I¡¦ll add you back to my daily bloglist. You deserve it my friend 🙂

  154. Faytech North America is a touch screen Manufacturer of both monitors and pcs. They specialize in the design, development, manufacturing and marketing of Capacitive touch screen, Resistive touch screen, Industrial touch screen, IP65 touch screen, touchscreen monitors and integrated touchscreen PCs. Contact them at http://www.faytech.us, 121 Varick Street, New York, NY 10013, +1 646 205 3214

  155. Pingback: Dank Vapes
  156. I do love the manner in which you have presented this problem plus it does present me personally a lot of fodder for thought. However, from everything that I have observed, I basically trust as the actual commentary pack on that people continue to be on issue and not embark upon a soap box associated with the news du jour. Yet, thank you for this exceptional point and whilst I do not really agree with it in totality, I value the standpoint.

  157. Pingback: Sibelius Crack
  158. Thanks for revealing your ideas in this article. The other thing is that every time a problem appears with a computer motherboard, folks should not go ahead and take risk connected with repairing the item themselves for if it is not done correctly it can lead to permanent damage to the entire laptop. In most cases, it is safe just to approach a dealer of that laptop for any repair of motherboard. They will have technicians who’ve an knowledge in dealing with pc motherboard issues and can get the right diagnosis and execute repairs.

  159. MetroClick specializes in building completely interactive products like Photo Booth for rental or sale, Touch Screen Kiosks, Large Touch Screen Displays , Monitors, Digital Signages and experiences. With our own hardware production facility and in-house software development teams, we are able to achieve the highest level of customization and versatility for Photo Booths, Touch Screen Kiosks, Touch Screen Monitors and Digital Signage. Visit MetroClick in NYC at http://www.metroclick.com/ or , 121 Varick St, New York, NY 10013, +1 646-843-0888

  160. Pingback: Pegging
  161. Pingback: Top Cafes
  162. I love your blog.. very nice colors & theme. Did you make this website yourself or did you hire someone to do it for you?Plz respond as I’m looking to construct my own blog and would liketo know where u got this from. appreciate it

  163. I¡¦m not positive the place you are getting your info, however great topic. I must spend some time studying much more or figuring out more. Thanks for magnificent info I used to be on the lookout for this info for my mission.

  164. Sapid Agency is a Search Engine Optimization company in New York City that provides SEO Services. Their proprietary SEO strategies help struggling websites and aspiring business owners to rank their websites higher in multiple search engines like Google , Yahoo and Bing. They provide local and gmb map ranking for businesses in NYC and many other local areas. Find more at https://www.sapidagency.com/ @ 145 E 57TH NEW YORK, NY 10022, USA, +1 971 341 5608 USA

  165. Pingback: strap on dildo
  166. Pingback: is CBD legal
  167. Wonderful blog! I found it while searching on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Thank you

  168. Pingback: bondage play
  169. Nice post. I learn something more difficult on different blogs everyday. It will always be stimulating to read content material from other writers and practice somewhat something from their store. I抎 choose to make use of some with the content material on my weblog whether you don抰 mind. Natually I抣l offer you a hyperlink in your net blog. Thanks for sharing.

  170. Good – I should definitely pronounce, impressed with your site. I had no trouble navigating through all tabs and related info ended up being truly easy to do to access. I recently found what I hoped for before you know it at all. Quite unusual. Is likely to appreciate it for those who add forums or anything, website theme . a tones way for your customer to communicate. Excellent task.

  171. Pingback: bars in atlanta
  172. I wanted to send you this bit of remark to give thanks once again for your incredible thoughts you have discussed above. This has been generous of you to allow easily precisely what most of us could possibly have advertised for an ebook to earn some cash for their own end, most notably given that you might well have tried it if you wanted. These techniques in addition acted to become great way to be sure that other people have the identical passion really like my very own to know a great deal more regarding this matter. I think there are numerous more pleasurable sessions in the future for individuals that read through your website.

  173. Pingback: first time
  174. Pingback: Pierceton Indiana
  175. Pingback: Wand Massager
  176. Hi! I could have sworn I’ve been to this site before but after checking through some of the post I realized it’s new to me. Nonetheless, I’m definitely glad I found it and I’ll be bookmarking and checking back often!

  177. I loved as much as you’ll receive carried out right here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get got an nervousness over that you wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly very often inside case you shield this hike.

  178. whoah this blog is magnificent i really like studying your articles. Keep up the great paintings! You understand, a lot of people are hunting round for this information, you could aid them greatly.

  179. MetroClick specializes in building completely interactive products like Photo Booth for rental or sale, Touch Screen Kiosks, Large Touch Screen Displays , Monitors, Digital Signages and experiences. With our own hardware production facility and in-house software development teams, we are able to achieve the highest level of customization and versatility for Photo Booths, Touch Screen Kiosks, Touch Screen Monitors and Digital Signage. Visit MetroClick in NYC at http://www.metroclick.com/ or , 121 Varick St, New York, NY 10013, +1 646-843-0888.

  180. Pingback: Royal CBD
  181. Pingback: webehigh
  182. I was extremely pleased to uncover this web site. I need to to thank you for your time for this particularly wonderful read!! I definitely savored every part of it and i also have you saved as a favorite to check out new information in your blog.

  183. Hey there would you mind sharing which blog platform you’re working with? I’m planning to start my own blog in the near future but I’m having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I’m looking for something completely unique. P.S Sorry for getting off-topic but I had to ask!| а

  184. Faytech North America is a touch screen Manufacturer of both monitors and pcs. They specialize in the design, development, manufacturing and marketing of Capacitive touch screen, Resistive touch screen, Industrial touch screen, IP65 touch screen, touchscreen monitors and integrated touchscreen PCs. Contact them at http://www.faytech.us, 121 Varick Street, New York, NY 10013, +1 646 205 3214.

  185. I enjoy you because of all your effort on this website. My daughter enjoys managing investigation and it’s really obvious why. My partner and i learn all relating to the compelling manner you produce rewarding tricks on this website and in addition invigorate contribution from others on the idea so our favorite child is without question studying so much. Have fun with the rest of the new year. You are always doing a really good job.

  186. What’s Happening i am new to this, I stumbled upon this I have found It positively useful and it has aided me out loads. I hope to contribute & aid other users like its aided me. Great job.

  187. I precisely needed to thank you so much all over again. I do not know the things that I could possibly have implemented in the absence of these methods shared by you regarding that industry. It has been an absolute troublesome crisis for me, however , seeing your specialized fashion you dealt with that took me to cry with contentment. Now i am happier for this work and in addition hope that you find out what an amazing job you’re doing instructing the rest via a blog. Probably you have never come across any of us.

  188. Pingback: fundmerica bbb
  189. I’m extremely pleased to find this page. I wanted to thank you for your time for this particularly fantastic read!! I definitely appreciated every little bit of it and i also have you saved to fav to look at new things on your blog.

  190. My husband and i felt very excited that Jordan could complete his investigations from your ideas he came across in your blog. It’s not at all simplistic just to find yourself giving away tips which usually many others have been trying to sell. And we grasp we have got you to thank for this. The main illustrations you’ve made, the straightforward website menu, the friendships you aid to foster – it is all wonderful, and it is helping our son and the family believe that this matter is enjoyable, and that’s rather fundamental. Thank you for all!

  191. Pingback: CBD oil near me
  192. I loved as much as you’ll receive carried out right here. The sketch is attractive, your authored subject matter stylish. nonetheless, you command get got an edginess over that you wish be delivering the following. unwell unquestionably come more formerly again since exactly the same nearly very often inside case you shield this increase.| а

  193. hey there and thank you for your information – I have definitely picked up something new from right here. I did however expertise some technical points using this website, since I experienced to reload the site lots of times previous to I could get it to load properly. I had been wondering if your web hosting is OK? Not that I am complaining, but slow loading instances times will very frequently affect your placement in google and could damage your high-quality score if ads and marketing with Adwords. Well I am adding this RSS to my email and could look out for much more of your respective fascinating content. Make sure you update this again very soon.| а

  194. Pingback: buy CBD products
  195. Heya great blog! Does running a blog such as this require a lot of work? I have very little understanding of programming however I was hoping to start my own blog in the near future. Anyway, should you have any ideas or tips for new blog owners please share. I understand this is off subject nevertheless I simply had to ask. Thank you!| а

  196. I really intend to share it with you that I am new to blogging and utterly valued your work. Very possible I am inclined to save your blog post . You certainly have lovely article blog posts. Love it for discussing with us the best internet site information

  197. Pingback: onhax me