juju/runinfo

Yii2 运行信息

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

v1.0.0 2016-08-15 09:16 UTC

This package is not auto-updated.

Last update: 2024-11-09 20:33:45 UTC


README

##安装

composer require "juju/runinfo:dev-master"

"juju/runinfo": "~dev-master"

##控制器顶部

use \juju\runinfo\Runinfo;

##控制器调用

$runinfo = new Runinfo();
$runinfo->start();		//开始点,统计内存占用和时间点

$rundata = $runinfo->end();		//结束时间点返回结果数组
print_r($rundata);
exit();