计算精度调整

This commit is contained in:
thinkphp
2016-07-25 17:48:13 +08:00
parent 05f5367c24
commit 0b085eaf54
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ class Console
return false;
}
// 获取基本信息
$runtime = round(microtime(true) - THINK_START_TIME, 20);
$runtime = round(microtime(true) - THINK_START_TIME, 10);
$reqs = number_format(1 / $runtime, 2);
$mem = number_format((memory_get_usage() - THINK_START_MEM) / 1024, 2);