Talk in English - US at SunshinePHP 2019
View Slides: https://github.com/katzien/talks/blob/master/performance-optimisation/sunshinephp-2019-02-08/slides.pdf
Short URL: https://joind.in/talk/3e5a5 (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, xhprof or php-meminfo, I hope to give you a good idea of where to start with analysing and optimising your PHP code.
Comments are closed.
Clear presentation with solid examples
Great session with actionable steps for implementing performance testing, delivered in a conscise presentation.
Great talk with lots of good resources and examples to take away! I learned a lot.
Fantastic overview of how to get started with performance optimization the right way! Seeing that this talk was tagged as a beginner talk had me a bit hesitant as I've already been comfortable using xdebug's profiling and blackfire, but I picked up quite a few new tricks!
Nice presentation, great topic to cover.
Thank you for sharing example tools I may use to help pinpoint performance issues. I feel I'm better equipped to get in the habit of writing efficient code.
Great overview of best practices for doing profiling locally (without using a SaaS)
There were a lot of good examples and suggestions. It was also helpful to be pointed at a few github projects to get started.
Easy to follow presentation, concrete understandable examples. This was a great talk.
A polished talk. I was especially grateful for the tooling explanations. My only recommendation is to have more details on flame graphs compared to the other metrics but that is a minor thing.
Awesome talk, good examples.
Sound talking points, relevant metrics and benchmarks to support the main objectives of the presentation and solid examples using the tools mentioned. The only suggestion I would make would be to spice up the PowerPoint a bit and give it some design quality and flare. I know its PHP but visuals always make presentations more interesting.