File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public function getContents() : string
106106 }
107107 \ob_start (); ?>
108108 <p><strong>Started at:</strong> <?= \date ('r ' , (int ) $ this ->startTime ) ?> </p>
109- <p><strong>Runtime:</strong> <?= \round ($ this ->endTime - $ this ->startTime , 6 ) ?> seconds
109+ <p><strong>Runtime:</strong> <?= Debugger:: roundSecondsToMilliseconds ($ this ->endTime - $ this ->startTime ) ?> ms
110110 </p>
111111 <p>
112112 <strong>Memory:</strong> <?=
Original file line number Diff line number Diff line change 1010namespace Framework \MVC \Debug ;
1111
1212use Framework \Debug \Collector ;
13+ use Framework \Debug \Debugger ;
1314use Framework \MVC \View ;
1415
1516/**
@@ -86,7 +87,7 @@ protected function renderRenderedViews() : string
8687 <th>#</th>
8788 <th>File</th>
8889 <th>Type</th>
89- <th>Time to Render</th>
90+ <th title="Milliseconds" >Time to Render</th>
9091 </tr>
9192 </thead>
9293 <tbody>
@@ -95,7 +96,7 @@ protected function renderRenderedViews() : string
9596 <td><?= $ index + 1 ?> </td>
9697 <td><?= \htmlentities ($ item ['file ' ]) ?> </td>
9798 <td><?= \htmlentities ($ item ['type ' ]) ?> </td>
98- <td><?= \round ($ item ['end ' ] - $ item ['start ' ], 6 ) ?> </td>
99+ <td><?= Debugger:: roundSecondsToMilliseconds ($ item ['end ' ] - $ item ['start ' ]) ?> </td>
99100 </tr>
100101 <?php endforeach ?>
101102 </tbody>
You can’t perform that action at this time.
0 commit comments