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

[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!
#2

[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 ).
#3

[eluser]new_igniter[/eluser]
Thanks!




Theme © iAndrew 2016 - Forum software by © MyBB