Profiling 101: How to profile a PHP 7 application

Profiling 101: How to profile a PHP 7 application

Who hasn’t had this situation before: You know a certain part of your application is particularly slow but you don’t know exactly which part. If only there was a way to improve that bit of code that will lead into a major sales boost, which will lead to you being promoted to CTO of the company, which will lead into you getting to know the son/daughter of the CEO, which will lead into you getting married with the son/daughter of the CEO, which will lead into you being promoted to be the CEO of the company, which will lead to you driving a Lamborghini AND a Ferrari everyday?

Well, look no further! In this talk, we’ll look into the very basics of PHP profiling: what it is, when to perform it and most importantly: how to do it and subsequently interpret the results. Live demo time and massive on-stage failure guaranteed! If we have some extra time, we’ll also look into some more advanced debugging techniques which may aid you in the profiling.

PD Disclaimer: Names, characters, businesses, places, events, locales, and incidents are either the products of the author’s imagination or used in a fictitious manner. Any resemblance to actual persons, living or dead, or actual events is purely coincidental.

Aca9a731cf8422c5ea7f6cb833d3976f?s=128

Camilo Sperberg

February 06, 2019
Tweet