Files
2012-05-30 22:51:48 +01:00

31 lines
1.4 KiB
XML

<slide>
<title>Trace file analysers</title>
<div effect="fade-out">
<blurb>One bundled with Xdebug:</blurb>
<example>
php ~/dev/php/xdebug/trunk/contrib/tracefile-analyser.php time-own 5
...
Showing the 5 most costly calls sorted by 'time-own'.
Inclusive Own
function #calls time memory time memory
-------------------------------------------------------------------------------
array_pop 715 1.0252 -139880 1.0252 -139880
preg_match 2986 0.3718 1016336 0.3718 1016336
{main} 1 6.4562 7335704 0.3476 -15198832
next 432 0.2386 0 0.2386 0
count 3302 0.2132 0 0.2123 0
</example>
</div>
<div effect="fade-in-out">
<blurb>ValaXdebugTools (http://tinyurl.com/vxdebugtools):</blurb>
<list>
<bullet>*trace4func*: Give a function name, get a stack trace for each time it is called.</bullet>
<bullet>*evaled*: Prints an ordered list of evals, together with what file is responsible for this evil.</bullet>
<bullet>*whocalls*: Find out what files contain calls to the given function.</bullet>
<bullet>*whatisincluded*: Find out what files are included and where they are included from.</bullet>
</list>
</div>
</slide>