Benchmark: hide timestamp on HTML output
Wastes space and is mostly useless, absolut and relative expired time gives more than enough information.
This commit is contained in:
parent
af97db31d7
commit
09412d03b6
|
@ -142,6 +142,7 @@ class Benchmark
|
|||
// TODO: Move formatting to CSS file
|
||||
$html = '<table class="benchmark">' . "\n" . '<tr>';
|
||||
foreach ($data->columns as & $col) {
|
||||
if ($col->title === 'Time') continue;
|
||||
$html .= sprintf(
|
||||
'<td align="%s">%s</td>',
|
||||
$col->align,
|
||||
|
@ -153,6 +154,7 @@ class Benchmark
|
|||
foreach ($data->rows as & $row) {
|
||||
$html .= '<tr>';
|
||||
foreach ($data->columns as $key => & $col) {
|
||||
if ($col->title === 'Time') continue;
|
||||
$html .= sprintf(
|
||||
'<td align="%s">%s</td>',
|
||||
$col->align,
|
||||
|
|
Loading…
Reference in New Issue