Profiling, Benchmark ve JIT
Xdebug/Blackfire/Profiler kullanımı, bottleneck tespiti, mikro-optimizasyonlar, opcode cache (OPcache) ayarları ve JIT etkileri. Gerçek dünya ölçümleri ile optimizasyon kararları alma.
basit mikro benchmark
<?php
$start = microtime(true);
for ($i=0;$i<1000000;$i++) { $a = $i * 2; }
echo microtime(true) - $start;
?>