Talk by Jonathan Oxer at LinuxTag 2004 about use of APD (Advanced PHP Debugger) to perform performance profiling of PHP code. Originally presented 2004-06-24. More information including conference paper at http://jon.oxer.com.au/talks/id/5
Powerpoint exploring the locations used in television show Time Clash
PHP Performance Profiling
1. PHP Performance
Profiling
Jonathan Oxer
LinuxTag 2004, Karlsruhe
2. Do you know what your code really does?
Are you sure?
Much of our code is opaque, even to us. OOP theory teaches
us to treat objects as “black boxes”, and libraries are often
used the same way. We usually have no idea of the true cost
of using certain functionality.
PHP Performance Profiling Jonathan Oxer
3. Profiling: Objective Analysis
Since we don't know what really happens to our code we
need to measure it.
“Profiling” means running our code in a controlled
environment to see what happens.
PHP Performance Profiling Jonathan Oxer
4. First Shock: 273 Function Calls???
PHP Performance Profiling Jonathan Oxer