Added requests/second stats to the debug boot timer.

This commit is contained in:
2009-08-19 21:07:31 +03:00
parent 383627421a
commit 89e4e7d77b

View File

@@ -20,6 +20,8 @@ require_once($config_path."/init/boot.php");
// initialize zynapse
Zynapse::init();
echo "<br />\n<br />\nboot time: ".number_format(microtime(true) - $start, 6)." seconds<br />\n";
$time = number_format(microtime(true) - $start, 6);
echo "<br />\n<br />\nboot time: ".$time." seconds<br />\n";
echo "reqs/second: ".round(1 / $time)."<br />\n";
?>