![]() |
CodeIgntier Execution Time Bug - 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: CodeIgntier Execution Time Bug (/showthread.php?tid=29518) |
CodeIgntier Execution Time Bug - El Forum - 04-12-2010 [eluser]Unknown[/eluser] Hi there, I am not sure if this is a bug or not. In my controllers/my.php, I have the following code: Code: function ajax() As for view/my_newsfeed_tabajax.php, I have the following code: Code: $this->benchmark->mark('sectionview_start'); Funnily, when I opened up the page with profiler enabled, it shows the following data: Loading Time Base Classes 0.0008 Sectionview 0.0935 Section1 1.9501 Controller Execution Time ( My / Ajax ) 1.9631 Total Execution Time 1.9640 There is like 1.0+ second difference in between the loading of the view and executing the whole code in the view. I have been trying to do a benchmark on every single code in my view page but to no avail. All shows that it falls below 0.01 second. Thus, 1.0+ second seems a little bit too much and sometimes it can go more than 5 seconds. Anybody know why this is happening? Thank you so much. Your help / suggestions are much appreciated! |