File tree 2 files changed +4
-3
lines changed
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
106
106
}
107
107
\ob_start (); ?>
108
108
<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
110
110
</p>
111
111
<p>
112
112
<strong>Memory:</strong> <?=
Original file line number Diff line number Diff line change 10
10
namespace Framework \MVC \Debug ;
11
11
12
12
use Framework \Debug \Collector ;
13
+ use Framework \Debug \Debugger ;
13
14
use Framework \MVC \View ;
14
15
15
16
/**
@@ -86,7 +87,7 @@ protected function renderRenderedViews() : string
86
87
<th>#</th>
87
88
<th>File</th>
88
89
<th>Type</th>
89
- <th>Time to Render</th>
90
+ <th title="Milliseconds" >Time to Render</th>
90
91
</tr>
91
92
</thead>
92
93
<tbody>
@@ -95,7 +96,7 @@ protected function renderRenderedViews() : string
95
96
<td><?= $ index + 1 ?> </td>
96
97
<td><?= \htmlentities ($ item ['file ' ]) ?> </td>
97
98
<td><?= \htmlentities ($ item ['type ' ]) ?> </td>
98
- <td><?= \round ($ item ['end ' ] - $ item ['start ' ], 6 ) ?> </td>
99
+ <td><?= Debugger:: roundSecondsToMilliseconds ($ item ['end ' ] - $ item ['start ' ]) ?> </td>
99
100
</tr>
100
101
<?php endforeach ?>
101
102
</tbody>
You can’t perform that action at this time.
0 commit comments