Pluf Framework

Pluf Framework Commit Details


Date:2009-10-11 15:03:49 (15 years 2 months ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:6987537800d623eb7197b1ff39ca96f8eae4bd00
Parents: 3b49fd0e960195d65f359358e6d404207e2d7e0c
Message:Changed to use PHP builtin to get the max memory usage.

Changes:

File differences

src/Pluf/Middleware/Debug.php
9696
9797
9898
99
99
100100
101101
102102
// -->
</script>';
$text = '<pre style="text-align: left;">';
$text .= 'Peak mem: '.(int)(xdebug_peak_memory_usage()/1024).'kB'."\n";
$text .= 'Peak mem: '.(int)(memory_get_peak_usage()/1024).'kB'."\n";
$text .= 'Exec time: '.sprintf('%.5f', (microtime(true) - $GLOBALS['_PX_starttime'])).'s'."\n";
$included_files = get_included_files();
sort($included_files);

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.05309s using 13 queries.