Codeigniter 代码片段

显示代码执行时间

$this->benchmark->mark('code_start');

// 耗时操作

$this->benchmark->mark('code_end');
echo $this->benchmark->elapsed_time('code_start', 'code_end');

238 total views, 2 views today

Revisions

There are no revisions for this post.

No comments yet.

发表评论