![]() |
How can i display benchmark without load a view file ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: How can i display benchmark without load a view file ? (/showthread.php?tid=14561) |
How can i display benchmark without load a view file ? - El Forum - 01-07-2009 [eluser]nodulia[/eluser] Hello, I use JsonCI because i work with ajax. I find a method to debug my project with the output class but i not use a view file because i use $this->jsonci->sendJSON($res); to send the result. How can i display benchmark without load a view file ? Thanks a lot How can i display benchmark without load a view file ? - El Forum - 01-07-2009 [eluser]xwero[/eluser] you have to add benchmark->elapsed_time() to the sendJSON method. How can i display benchmark without load a view file ? - El Forum - 01-07-2009 [eluser]nodulia[/eluser] In fact, i'm interested to get all SQL for debug by the following code: Code: $res = array( But in fact $this->output->get_output() is null Thanks a lot |