![]() |
Benchmarking - 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: Benchmarking (/showthread.php?tid=30181) |
Benchmarking - El Forum - 05-05-2010 [eluser]new_igniter[/eluser] Hello, Im curious as to how the benchmark times are broken down? What calculates the "Controller Execution Time" How is that different from "Total Execution Time" What is included in "Loading Time Base Classes" Thanks! Benchmarking - El Forum - 05-05-2010 [eluser]WanWizard[/eluser] Total execution time = from when the Benchmark library is loaded until the profiler fetches the result Loading time base classes = from when the Benchmark library is loaded until your requested controller is loaded Controller execution time = from before the controller method is called (but after the pre_controller hook), until after the post_controller hook is finished. Check the CI code if you want to know how it works internally ( in this case, ./system/codeigniter/Codeigniter.php ). Benchmarking - El Forum - 05-05-2010 [eluser]new_igniter[/eluser] Thanks! |