mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-01-18 11:41:52 +00:00
[1.1.1] Augment with time difference.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@449 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
a251ec590f
commit
4b5198c5bc
@ -65,7 +65,7 @@ class RowTimer extends Benchmark_Timer
|
|||||||
$perc = $v['diff'] * 100 / $standard;
|
$perc = $v['diff'] * 100 / $standard;
|
||||||
|
|
||||||
$out .= '<td align="right">' . number_format($perc, 2, '.', '') .
|
$out .= '<td align="right">' . number_format($perc, 2, '.', '') .
|
||||||
'%</td>';
|
'%</td><td>'.$v['diff'].'</td>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ function do_benchmark($name, $document) {
|
|||||||
<table border="1">
|
<table border="1">
|
||||||
<tr><th>Case</th><?php
|
<tr><th>Case</th><?php
|
||||||
foreach ($LEXERS as $key => $value) {
|
foreach ($LEXERS as $key => $value) {
|
||||||
echo '<th>' . htmlspecialchars($key) . '</th>';
|
echo '<th colspan="2">' . htmlspecialchars($key) . '</th>';
|
||||||
}
|
}
|
||||||
?></tr>
|
?></tr>
|
||||||
<?php
|
<?php
|
||||||
|
Loading…
Reference in New Issue
Block a user