Skip to content

Commit 7b4c7d7

Browse files
committed
Show time as milliseconds
1 parent f0d1628 commit 7b4c7d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Debug/AutoloadCollector.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function getContents() : string
6161
<tr>
6262
<th>#</th>
6363
<th>File</th>
64-
<th title="Seconds">Time</th>
64+
<th title="Milliseconds">Time</th>
6565
</tr>
6666
</thead>
6767
<tbody>
@@ -73,7 +73,7 @@ public function getContents() : string
7373
: '' ?>>
7474
<td><?= $index + 1 ?></td>
7575
<td><?= \htmlentities($file) ?></td>
76-
<td><?= $data ? \round($data['end'] - $data['start'], 6) : '' ?></td>
76+
<td><?= $data ? Debugger::roundSecondsToMilliseconds($data['end'] - $data['start']) : '' ?></td>
7777
</tr>
7878
<?php endforeach ?>
7979
</tbody>
@@ -97,7 +97,7 @@ public function getContents() : string
9797
<th>Type</th>
9898
<th>Declaration</th>
9999
<th title="Loaded with the current Autoloader">Loaded</th>
100-
<th title="Seconds">Time</th>
100+
<th title="Milliseconds">Time</th>
101101
</tr>
102102
</thead>
103103
<tbody>
@@ -123,7 +123,7 @@ public function getContents() : string
123123
if ($data && isset($data['loaded'])) {
124124
echo $data['loaded'] ? 'Yes' : 'No';
125125
} ?></td>
126-
<td><?= $data ? \round($data['end'] - $data['start'], 6) : '' ?></td>
126+
<td><?= $data ? Debugger::roundSecondsToMilliseconds($data['end'] - $data['start']) : '' ?></td>
127127
</tr>
128128
<?php endforeach ?>
129129
</tbody>

0 commit comments

Comments
 (0)