Home > Backend Development > PHP Tutorial > codeigniter shows the execution time of all scripts, codeigniter shows all_PHP tutorial

codeigniter shows the execution time of all scripts, codeigniter shows all_PHP tutorial

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

How codeigniter displays the execution time of all scripts, codeigniter displays all

The example in this article describes the method of codeigniter displaying the execution time of all scripts. Share it with everyone for your reference. The specific analysis is as follows:

If you want to display the execution time of all scripts, please add the following code to the view

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

You can also use the following pseudo variables

{ elapsed_time}
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/970973.htmlTechArticleHow codeigniter displays the execution time of all scripts, codeigniter displays all The examples in this article describe how codeigniter displays the execution time of all scripts . Share it with everyone for your reference. ...
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