Heya,
Just got "Plugin elapsed_time can not be found, maybe you forgot to bind it if it's a custom plugin?" trying to add {elapsed_time} at the footer of a page to see how the execution time goes with other caching such as eaccelerator...
Obviously the benchmarking class isnt auto-loaded in Fuel? Dunno how to do that myself?
A
Comments
1. Add it to the autoload
2. In your fuel/application/config/MY_config.php file, you can set the enable_profiler = TRUE
3. If you are trying to profile a page that doesn't use a controller, you can load it in your views/_variables/global.php file like so:
$CI->load->library('benchmark');
4. If you are using a controller to render the page, you can load it like any other CI library.
{literal}{elapsed_time}{/literal}