Every developer should be confident that their code is efficient and safe to run in production. But it can be hard to get started. What tools to use? What do the graphs mean? What to look at first? In this talk, we will analyse and optimise the performance of a simple PHP application. By demonstrating how to use some of the excellent open source projects such as xdebug, xhprof or ApacheBench, I hope to give you a good idea of where to start with analysing and optimising your PHP code.
Level: All


Please login to leave a comment

Rated 4

Niklas Dzösch at 14:27 on 16 Feb 2018

Well delivered introduction! :)

Rated 4

Craig Duncan at 14:30 on 16 Feb 2018

Great introduction to profiling with clear examples and tips

Rated 5

Tom Metcalfe at 14:36 on 16 Feb 2018

Really informative, well communicated and greet use of emojis.

My only feedback would be a couple of times you read the points on the slides, but it's a minor gripe.

Rated 5

Wim Godden at 15:34 on 16 Feb 2018

Very good overview of do's and don'ts in terms of performance and how to monitor and profile your code

Rated 5

M1ke at 16:48 on 16 Feb 2018

A very confident run down of performance profiling. It helped to already know about tools like New Relic, Datadog because these were skipped over quite quickly - could have chosen one to go into more depth. A bit surprised Blackfire wasn't mentioned too, as that seems to handle part of the profiling as well as general metrics. However the parts that were delivered, xhprof and xdebug were gone into in really good detail, examples that we can take and use straight away.

A very good talk that gave a good insight into profiling and performance optimisation. Made some very interesting points. Some of the slide design could have perhaps been improved, but this is a minor observation on an otherwise excellent talk!

Rated 5

Jeremy Onion at 21:38 on 16 Feb 2018

Interesting talk from someone that knows their subject matter, picked up plenty of tips.

Rated 4

Chris Sherry at 19:29 on 17 Feb 2018

I feel that after this talk, I know enough of the basics to get started profiling straight away and also know where my time would be best spent in doing so. I have found other talks on this subject have not been realistic about the business case for optimising or shown what the quick wins are. I might even print out the 3rd slide of this talk and stick it on my boss' wall.

Kat did an excellent job is explaining these, and both times I have seen her talk she has been great in the attention of detail she puts in to explaining her points.

I'd also wish I had sat next to Matt to watch his code get profiled 😂

For improvements:

The curated code samples from the Go talk at PHP South Coast were excellent, it's a shame this talk only contained screenshots from the IDE.

Several of the slides showed too much (too many bullet points or too many screenshots trying to share a slide).

The fact that there is a profiler built into PHPStorm is very cool, but if I had blinked I would have missed it.

Also a couple of contrast issues with some of the colours chosen on some slides. Very nice use of circles though instead of relying on the laser pointer.

Rated 5

Neil Nand at 18:06 on 18 Feb 2018

I've been to several talks on performance in the past but this one gave a sort of real world example of how it all comes together which was pretty helpful.