Home > php教程 > php手册 > body text

检测codeigniter脚本消耗内存情况的方法,codeigniter脚本

WBOY
Release: 2016-06-13 09:10:54
Original
988 people have browsed it

检测codeigniter脚本消耗内存情况的方法,codeigniter脚本

本文实例讲述了检测codeigniter脚本消耗内存情况的方法。分享给大家供大家参考。具体如下:

如果你想显示脚本消耗内存情况,请将下面的代码加入到view里面

<&#63;php echo $this->benchmark- >memory_usage() ; &#63;>
Copy after login

相关的伪变量是:

{ memory_usage}
Copy after login

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template