Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Custom benchmark/miniprofiler
#3

[eluser]Kenshiro[/eluser]
the profiler gives the right results (this is the second picture on the right showing 9 queries (the correct number) )

there is one work around i found... but really it's not so good :

using the php5 __destruct to compile the whole template and output it... problem is i have to use $this->output->get_output(); method... and if the profiler is enabled it appears twice ...

There is no easy solution... if i do a custom output class maybe... to hack the profiler and allow the output to use both a miniprofiler and the normal CI one...


Messages In This Thread
[SOLVED] Custom benchmark/miniprofiler - by El Forum - 04-29-2010, 06:23 AM
[SOLVED] Custom benchmark/miniprofiler - by El Forum - 04-29-2010, 08:08 AM
[SOLVED] Custom benchmark/miniprofiler - by El Forum - 04-29-2010, 08:17 AM
[SOLVED] Custom benchmark/miniprofiler - by El Forum - 04-29-2010, 08:35 AM
[SOLVED] Custom benchmark/miniprofiler - by El Forum - 04-29-2010, 08:46 AM
[SOLVED] Custom benchmark/miniprofiler - by El Forum - 04-29-2010, 09:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB