Mythbusting "PHP is rarely the bottleneck," data shows 40% of time spent in PHP
In discussions about PHP performance optimizations and micro-optimizations, there is often someone hand-waving the discussion down with, “PHP is rarely the bottleneck; I/O is.” But is that really true? Our data shows otherwise: across 1240 production projects, the average time spent in PHP is 40.3%. For 34% of these projects, they even spent more than 50% of their time in PHP, not in I/O. So, PHP often is the bottleneck, and depending on the framework, the effect is even higher.