Reputation: 67
How can I get time of render page waste using [framework] [codeigniter]?
Upvotes: 0
Views: 56
Reputation: 4719
CodeIgniter has a built-in pseudo-variable elapsed_time
from the Benchmarking Class. You could use it within the view file :
<p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds.</p>
Just like in the default welcome_message.php
view file.
Upvotes: 1