Method to detect memory consumption of codeigniter script, codeigniter script_PHP tutorial

WBOY
Release: 2016-07-13 10:02:06
Original
849 people have browsed it

How to detect the memory consumption of codeigniter script, codeigniter script

The example in this article describes the method of detecting the memory consumption of codeigniter script. Share it with everyone for your reference. The details are as follows:

If you want to display the memory consumption of the script, please add the following code to the view

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

The relevant dummy variables are:

{ memory_usage}
Copy after login

I hope this article will be helpful to everyone’s PHP programming based on codeigniter.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/970972.htmlTechArticleHow to detect the memory consumption of the codeigniter script, codeigniter script This article describes the method of detecting the memory consumption of the codeigniter script. Share it with everyone for your reference. Specifically...
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template