Derick Rethans' Blog: Xdebug and tracing memory usage

Courtesy PHPDeveloper.org  Fri, 11/13/2009 - 08:15

Derick Rethans has a new post today talking about using the Xdebug tool to track the memory usage in your application with some of its profiling capabilities, specifically function traces .

Function traces log every include, function call and method call to a file. If the xdebug.trace_format setting is set to "1" then the trace file is an easy-to-parse tab separated format.

The information that is logged includes the time-index when the function started and...


 

More related items

Kurt Payne's Blog: User register_tick_function to...
Kurt Payne has a new post to his blog showing how to use register_tick_function with a callback to help benchmark and profile your application to find its pain spots. A profiler gives you...

Ilia Alshanetsky's Blog: PHP's Output Buffering
In a new post to his blog Ilia Alshanetsky takes a look at PHP's output buffering feature and some interesting things he found when testing some recent code (hint: it has to do with PHP's...

PHP's Output Buffering - Ilia Alshanetsky
While profiling our application I came across a a rather strange memory usage by the ob_start() function. We do use ob_start() quite a bit to defer output of data, which is a common thing in...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com