Display total script execution time in PHP codeigniter

If you would like to display the total execution time for your application, add the following to the view.

<?php echo $this->benchmark- >elapsed_time() ; ?>

Additionally, the below pseudo-variable is provided for developers who do not wish to use pure PHP in their View files.

{ elapsed_time}

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.