
The widest block in a cold flame graph is the autoloader
The same endpoint profiled twice - 65.8 ms and 8.4 ms. What changed in the picture, and how to tell one slow call from ten thousand fast ones.
Tags
4 posts

The same endpoint profiled twice - 65.8 ms and 8.4 ms. What changed in the picture, and how to tell one slow call from ten thousand fast ones.

memory_get_usage(), memory_get_usage(true) and ps disagree about one process. What each counts, which one memory_limit reads, and why a one-megabyte string costs two.

pm static, dynamic and ondemand, the memory ceiling nothing enforces, and how to size a pool from measurements rather than guesses.

A request walks from the SAPI to the Zend VM — lexing, compilation to opcodes, the OPcache lookup that skips both, and execution.