This article describes how to display the execution time of all scripts in codeigniter. It describes how to use the elapsed_time method and the {elapsed_time} pseudo variable in codeigniter. For more information, see
This article describes how to display the execution time of all scripts in codeigniter. It describes how to use the elapsed_time method and the {elapsed_time} pseudo variable in codeigniter. For more information, see
This example describes how codeigniter displays the execution time of all scripts. Share it with you for your reference. The specific analysis is as follows:
If you want to display the execution time of all scripts, 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 help you with codeigniter-based php programming.