Commit fe36d7fd authored by Taylor Otwell's avatar Taylor Otwell

Added total SQL execution time to profiler.

Signed-off-by: 's avatarTaylor Otwell <taylorotwell@gmail.com>
parent 01a7991b
......@@ -180,6 +180,7 @@ background-position:5px -8px;
span.anbu-count
{
text-transform: none !important;
margin-left:0.5em !important;
background-color:#555 !important;
display:inline-block !important;
......
......@@ -53,7 +53,14 @@
<ul id="anbu-open-tabs" class="anbu-tabs">
<li><a data-anbu-tab="anbu-log" class="anbu-tab" href="#">Log <span class="anbu-count">{{ count($logs) }}</span></a></li>
<li><a data-anbu-tab="anbu-sql" class="anbu-tab" href="#">SQL <span class="anbu-count">{{ count($queries) }}</span></a></li>
<li>
<a data-anbu-tab="anbu-sql" class="anbu-tab" href="#">SQL
<span class="anbu-count">{{ count($queries) }}</span>
@if (count($queries))
<span class="anbu-count">{{ array_sum(array_map(function($q) { return $q[1]; }, $queries)) }}ms</span>
@endif
</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-zoom" href="#">&#8645;</a></li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment