Home  >  Article  >  php教程  >  codeigniter显示所有脚本执行时间的方法,codeigniter显示所有

codeigniter显示所有脚本执行时间的方法,codeigniter显示所有

WBOY
WBOYOriginal
2016-06-13 09:10:53719browse

codeigniter显示所有脚本执行时间的方法,codeigniter显示所有

本文实例讲述了codeigniter显示所有脚本执行时间的方法。分享给大家供大家参考。具体分析如下:

如果你想显示所有脚本的执行时间,请将下面的代码加入到view里面

<&#63;php echo $this->benchmark- >elapsed_time() ; &#63;>

也可以使用下面的伪变量

{ elapsed_time}

希望本文所述对大家基于codeigniter的php程序设计有所帮助。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn