XHProf is a layered PHP performance analysis tool. It reports the number of requests and various metrics at the function level, including blocking time, CPU time, and memory usage.
XHProf is a layered PHP performance analysis tool.
It reports the number of requests and various metrics at the function level, including blocking time, CPU time, and memory usage.
The overhead of a function can be broken down into caller and callee overhead. .
Its unique reporting/post-processing stage of data calculation.
During data collection, XHProfd handles recursive function calls by detecting loops and avoids infinite loops by giving each deep call in the recursive call a useful name.
XHProf analysis report helps to understand the structure of the executed code, it has a simple HTML user interface (written in PHP).
The browser-based performance analysis user interface makes it easier to view or share results with peers. You can also draw call diagrams
Recommended tutorial: "php tutorial"
The above is the detailed content of What is xhprof in php?. For more information, please follow other related articles on the PHP Chinese website!