1.

How to do request profiling in PHP?

Answer»

Xdebug is an extension for PHPto assist with debugging and development. It contains a single step debuggerto USE with IDEs; it upgrades PHP's var_dump() function; it adds stack tracesfor Notices, Warnings, Errors and Exceptions; it features functionality for recording every function call and variable assignmentto disk; it contains a profiler; and it provides code coveragefunctionality for use with PHPUnit.

Xhprof: Xhprof was created by Facebook and includes a basic UI for reviewing PHP profiler data. It aims to have a minimum impact on execution times and REQUIRES relatively little space to store a trace. Thus, you can run it live WITHOUT a noticeable impact on users and without EXHAUSTING the memory.



Discussion

No Comment Found