name = htmlentities($name);
$this->Benchmark_Timer($auto);
}
function getOutput() {
$total = $this->TimeElapsed();
$result = $this->getProfiling();
$dashes = '';
$out = '
';
$out .= "{$this->name} | ";
foreach ($result as $k => $v) {
if ($v['name'] == 'Start' || $v['name'] == 'Stop') continue;
//$perc = (($v['diff'] * 100) / $total);
//$tperc = (($v['total'] * 100) / $total);
$out .= '' . $v['diff'] . " | ";
//$out .= '' . number_format($perc, 2, '.', '') .
// "% | ";
}
$out .= '
';
return $out;
}
}
?>
Benchmark: DirectLex versus PEAR's XML_HTMLSax3
Benchmark: DirectLex versus PEAR's XML_HTMLSax3
Random input was: ' .
'' . htmlentities($random) .
'';
?>