PHP Performance Demystified - Measure, Understand, Optimise
summary
Shows concrete claims and reproducible numbers not vague promises: boot time ~40 ms, opcache default entries 16,183 and can be raised to 100,000, JIT helps long‑running jobs but not short web requests, sprintf gets a 6× speedup between PHP 8.3 and 8.4 when optimized, and some workloads see 20–50% improvements from opcache optimizations. Demonstrates measurement tools like Hyperfine and PHP SPX, uses flamegraphs and sampling versus instrumentation, fixes include autoloader preloading for PHPUnit and verification that changes actually reduce CPU or memory.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:50PHP execution flow
- 7:12OPcache and JIT
- 10:04Benchmarking PHP
- 15:25Performance bottlenecks
- 17:08Benchmarking tools
- 23:51Profiling PHP
- 27:44PHP-SPX insights
- 30:12Optimizing PHP app
- 31:14Q&A








