Home >Backend Development >PHP Tutorial >Method to detect memory consumption of codeigniter script, codeigniter script_PHP tutorial

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

WBOY
WBOYOriginal
2016-07-13 10:02:06891browse

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;>

The relevant dummy variables are:

{ memory_usage}

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...
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