Skip to content

Commit 1d25624

Browse files
committed
Show time as milliseconds
1 parent 06d18dd commit 1d25624

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Debug/LanguageCollector.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
namespace Framework\Language\Debug;
1111

1212
use Framework\Debug\Collector;
13+
use Framework\Debug\Debugger;
1314
use Framework\Language\Language;
1415

1516
/**
@@ -86,7 +87,7 @@ protected function renderRenderedMessages() : string
8687
<th>Line</th>
8788
<th>Message</th>
8889
<th>Locale</th>
89-
<th title="Seconds">Time</th>
90+
<th title="Milliseconds">Time</th>
9091
</tr>
9192
</thead>
9293
<tbody>
@@ -99,7 +100,7 @@ protected function renderRenderedMessages() : string
99100
<pre><code class="language-html"><?= \htmlentities($data['message']) ?></code></pre>
100101
</td>
101102
<td><?= \htmlentities($data['locale']) ?></td>
102-
<td><?= \round($data['end'] - $data['start'], 6) ?></td>
103+
<td><?= Debugger::roundSecondsToMilliseconds($data['end'] - $data['start']) ?></td>
103104
</tr>
104105
<?php endforeach ?>
105106
</tbody>

0 commit comments

Comments
 (0)