Welcome Guest, Not a member yet? Register   Sign In
Base Classes slow loading time
#1

[eluser]Unknown[/eluser]
Hi everybody,

I having a problem with the loading time in one of my sites, I'm running on localhost and this is what the profiler class gives me:

Code:
BENCHMARKS  
Loading Time: Base Classes   8.4218
Controller Execution Time ( Home / Index )   1.7876
Total Execution Time   10.2096

I restarted the server and PC and still getting this issue, I even downloaded the latest CI version for the website and replaced the system folder.


Many thanks for your help!
#2

[eluser]skunkbad[/eluser]
What have you done to debug? Is this a bare install of CI, or is there some of your own code?
#3

[eluser]Unknown[/eluser]
Hi, Thanks for the replies, I found the problem: Some libraries in the autoload like "Datamapper, MX, ion_auth" generate logs of all types in the Error Logging Threshold and I have active the config with the 4 option. Imagine all messages generated, files with big size and all processes in the core.

I not recommended active "log_threshold" config with many libraries and third parties in autoload.

Thanks again!




Theme © iAndrew 2016 - Forum software by © MyBB