i have problem with output benchmark profiler when also output cache is enabled,the benchmark does is not visualized in views.
I’m doing.
class Home extends MX_Controller {
function Home()
{
parent::__construct();
$this->output->cache(20000);
$this->output->enable_profiler(TRUE);
}
how can i visualize the benchmark to see how faster is the page with cache on?
In order for the profiler to work you need to set markers, used as a start and end point to benchmark your application.
Because, quoting from the manual:
Wherever you want to start use (you don’t need to initialize this class):
And, when you want to end it:
Then the result:
You can use as many as you want, just give them a different name of course.