ent, CodeIgniter does not stop
the benchmark until right before the final output is sent to the
browser. It doesn&#8217;t matter where you use the function call, the timer
will continue to run until the very end.</p>
<p>An alternate way to show your elapsed time in your view files is to use
this pseudo-variable, if you prefer not to use the pure PHP:</p>
<div class="highlight-ci"><div class="highlight"><pre><span class="p">{</span><span class="nx">elapsed_time</span><span class="p">}</span>
</pre></div>
</d