Performance optimisation: how do I go about it?

Kat Zien (26.Jan.2019 at 16:10, 1 hr )
Talk at PHPBenelux Conference 2019 (English - UK)

Rating: 5 of 5

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.

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

Please note: you are not logged in and will be posting anonymously!
= five plus seven


Rating: 5 of 5

26.Jan.2019 at 17:02 by Joost van Veen (13 comments) via Web2 LIVE

Great talk, good speaker! I might be ditching Blackfire for Xdebug after this ;)

Rating: 5 of 5

26.Jan.2019 at 18:10 by Scott Dutton (33 comments) via Web2 LIVE

Good overview of some of the available techniques to debug performance issues. Have not heard of meminfo before so will check that out sometime!

Rating: 5 of 5

26.Jan.2019 at 19:35 by Murielle Evers (16 comments) via Web2 LIVE

Well... I know what I'll be doing on Monday.
Amazing talk. XDebug FTW.

Rating: 5 of 5

26.Jan.2019 at 21:18 by Jos Elstgeest (31 comments) via Web2 LIVE

Great talk!
You might want to add to your list of cachgrind viewers

Rating: 5 of 5

31.Jan.2019 at 12:14 by Jens Trio (15 comments) via Web2 LIVE

Great talk and good speaker. There's not much more to say.

© 2019