|
|
@ -60,21 +60,6 @@ class IndexController extends AdminController {
|
|
|
|
//累计统计
|
|
|
|
//累计统计
|
|
|
|
$this->display();
|
|
|
|
$this->display();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 速度测试
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param [type] $num
|
|
|
|
|
|
|
|
* @return void
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
public function test($start,$end)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
set_time_limit(0);
|
|
|
|
|
|
|
|
$t1 = microtime(true);
|
|
|
|
|
|
|
|
$this->foldLineDiagram($start,$end,1,true);
|
|
|
|
|
|
|
|
$t2 = microtime(true);
|
|
|
|
|
|
|
|
echo ("success runtime:".round($t2-$t1,3).'s'.PHP_EOL);
|
|
|
|
|
|
|
|
# code...
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* 今日折线图
|
|
|
|
* 今日折线图
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|