Browse Source

Display memory usage (and peak usage) in the profiler bar, too.

Franz Liedke 12 years ago
parent
commit
94e9106b76
1 changed files with 1 additions and 0 deletions
  1. 1 0
      laravel/profiling/template.blade.php

+ 1 - 0
laravel/profiling/template.blade.php

@@ -62,6 +62,7 @@
 			</a>
 			</a>
 		</li>
 		</li>
 		<li><a class="anbu-tab">Time <span class="anbu-count">{{ $time }}ms</span></a></li>
 		<li><a class="anbu-tab">Time <span class="anbu-count">{{ $time }}ms</span></a></li>
+		<li><a class="anbu-tab">Memory <span class="anbu-count">{{ $memory }} ({{ $memory_peak }})</span></a></li>
 		<li class="anbu-tab-right"><a id="anbu-hide" href="#">&#8614;</a></li>
 		<li class="anbu-tab-right"><a id="anbu-hide" href="#">&#8614;</a></li>
 		<li class="anbu-tab-right"><a id="anbu-close" href="#">&times;</a></li>
 		<li class="anbu-tab-right"><a id="anbu-close" href="#">&times;</a></li>
 		<li class="anbu-tab-right"><a id="anbu-zoom" href="#">&#8645;</a></li>
 		<li class="anbu-tab-right"><a id="anbu-zoom" href="#">&#8645;</a></li>