Home >Backend Development >PHP Tutorial >codeigniter shows the execution time of all scripts, codeigniter shows all_PHP tutorial
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
<?php echo $this->benchmark- >elapsed_time() ; ?>
You can also use the following pseudo variables
{ elapsed_time}
I hope this article will be helpful to everyone’s PHP programming based on codeigniter.