Welcome Guest, Not a member yet? Register   Sign In
end of CI Controller call loop
#3

(This post was last modified: 03-10-2021, 01:30 PM by Goddard.)

(03-10-2021, 12:12 PM)InsiteFX Wrote: CodeIgniter 3.1.11 User Guide - Benchmarking Class

CodeIgniter 3.1.11 User Guide - Application Flow Chart

CodeIgniter 3.1.11 User Guide - Design and Architectural Goals

Thanks that is helpful.  I knew about the benchmarking class and was planning on using it.  

What I would like to do is have it be logged at the end of every single function call so I can keep track of performance of the application.  I tried going to my MY_Controller inside the __destruct before the parent function is called, but that doesn't work as Session appears to already have been destroyed.

For example in the __destruct it just does this {elapsed_time}, but in the actual benchmark class it looks like it is supposed to return number_format not a view variable.
Reply


Messages In This Thread
end of CI Controller call loop - by Goddard - 03-10-2021, 10:50 AM
RE: end of CI Controller call loop - by InsiteFX - 03-10-2021, 12:12 PM
RE: end of CI Controller call loop - by Goddard - 03-10-2021, 01:19 PM
RE: end of CI Controller call loop - by InsiteFX - 03-10-2021, 02:57 PM
RE: end of CI Controller call loop - by Goddard - 03-10-2021, 03:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB