Profiling PHP with XHProf

Jonathan Klein (07.Feb.2014 at 16:00, 1 hr )
Talk at SunshinePHP 2014 (English - US)

Rating: 4 of 5

Profiling PHP with XHProf

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Comments closed.


Rating: 2 of 5

08.Feb.2014 at 13:34 by Anonymous

Rating: 5 of 5

08.Feb.2014 at 13:35 by Anonymous

Rating: 4 of 5

08.Feb.2014 at 15:45 by Anonymous

Rating: 4 of 5

09.Feb.2014 at 16:10 by Anonymous

Rating: 4 of 5

10.Feb.2014 at 12:29 by Phillip Jackson (8 comments)

I was happy to see someone talking about profiling PHP applications - for that alone this talk gets a 3. I did not know about the XHGui tool, and I'll give another thumbs up for that - it will help make my life so much easier.

However, there is a little bit of efficiency that could be gained from practicing this talk a few times ... I would really work on it and hone it a bit - perhaps run the ab tool live on a Wordpress vm. Maybe don't apologize for the inefficiency of your VM so much... mention it once and move on.

Otherwise, great delivery. Thanks for sharing!

Rating: 4 of 5

13.Feb.2014 at 04:10 by Thijs Feryn (187 comments)

Finally I got to see an XHProf talk. I was really looking forward to it and in the end I got what I wanted.

Although this talk wasn't really in-depth (which I hoped it would be), I'm actually quite satisfied with the things I learned.

Very nice to see XHGUI being featured and the fact that it has a MongoDB backend.

Another trick I really appreciated was the "disable CPU & memory" trick to improve performance. Unfortunately I cannot find the right syntax for it in the slides. Maybe this should be emphasized more in the slides?

@Jonathan: can you explain me how I should arrange the constants in xhprof_enable() to make sure CPU & memory aren't mesured?

Speaker comment:

13.Feb.2014 at 08:20 by Jonathan Klein (21 comments)

@Thijs - Thanks for the feedback! To disable CPU and/or memory profiling just delete the flag. So if you want to turn both off you just call `xhprof_enable()`.

© 2019