Welcome Guest, Not a member yet? Register   Sign In
Profiler
#1

[eluser]leon_dewey[/eluser]
I have used the following,

Code:
$this->output->enable_profiler(TRUE);

but it does not profile all my db query's,

In my App i have the below,

Code:
$this->read = $this->load->database('read', TRUE);
$this->write = $this->load->database('write', TRUE);
$this->output->enable_profiler(TRUE);

but the profiler only show:

Code:
SELECT * FROM (`ci_sessions`) WHERE `session_id` = 'ebc834237b80d52d6e50a9f1c9e583c74' AND `user_agent` = 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en'

But I know I have another query running off $this->read, is this right?
#2

[eluser]tonanbarbarian[/eluser]
The profiler does not show queries from the database connections that are returned, only the default $this->db
#3

[eluser]leon_dewey[/eluser]
Is their any way to include others?
#4

[eluser]tonanbarbarian[/eluser]
i think you would have to extend the profiler and maybe the benchmark classes
havent really looked into it




Theme © iAndrew 2016 - Forum software by © MyBB