Talk in English - US at Longhorn PHP Conference 2019
Track Name:
The Foxy.io Magical Friendship Room
View Slides: https://github.com/katzien/talks/blob/master/performance-optimisation/longhornphp-2019-05-03/slides.pdf
Short URL: https://joind.in/talk/09f01
(QR-Code (opens in new window))
How do I know if my program will perform well in production? What does it mean to “perform well”? How much memory will it need? How much traffic can it serve? Are there any memory leaks or race conditions? What part of processing takes up most of the time? Can I optimise it?
Every developer should be able to answer those questions about their code. But most of us don’t bother. Why? Because analysing performance is hard and as a result it is often skipped in the development process or ignored until things get really slow. Or we may simply not know where to start.
Writing efficient code is a valuable skill that takes time to learn. Being able to analyse performance can not only prove that our code is efficient and safe to run in production, but also teaches us what to avoid next time. It may seem daunting at first, but with the right tools at hand it is a highly rewarding process.
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 and xhprof, I hope to give you a good idea of where to start with analysing and optimising your PHP code.
Comments
Comments are closed.
Excellent talk with extremely practical and useful advice on performance profiling and optimization!
Great presentation. Definitely bookmarked some of the tools mentioned.
Brilliant talk that shows off *just* enough to be accessible while still showing the audience how powerful proper app profiling can be.
Kat knocked it out of the park with this talk. She had excellent methods of visualizing how to profile PHP apps and included lots of great tools and even an example PHP app to profile. Highly recommend if you get an opportunity to see this talk.
Lots of helpful information, links, and things to go research. Like the morning talk on doing static analyses, this subject could be a longer example-based talked where more time is spent on doing analyses of your application. Great knowledge of the subject - the speaker knows her material well and knows how to convey it. Two or three times as soon as I had a question forming in my head, she answered it the very next second.
Kat introduced optimization in an organized and easy to understandable manner.
like the tools and examples of what not to focus on
Immensely enjoyable talk filled with a great breadth and depth of information. Now there are a ton of tools I must go tinker with posthaste. You just gave me more work Kat!!!! :)
Great talk covering a variety of approaches and techniques for optimization.
Great insights into PHP performance tuning.
Great overview of performance optimization without getting into too many technical details that may not be relevant to the listeners. Loved the discussion about having to actually measure performance so you know where your actual problem is.