Welcome Guest, Not a member yet? Register   Sign In
Weird issue after cloning my project. It is always slower than the original
#1

I tested it on localhost. CodeIgniter v4.1.1. My clone project is always slower than the original. It is about three times slower, some times more. For example: my original project rendered in 0.1462 seconds, but my clone project rendered in 0.4602 seconds. Some times clone project rendered in more than 2 seconds. Same files, same structure, same database. Please help. Thank you.
Reply
#2

Read the error and system logs to see if there is something in them.

turn on CodeIgniter debugging to see if there are problems.

Make sure you turn these things back off when finished!
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

I've added Kint to render the data in the Debug bar. If you are passing huge variables eg arrays with entities to the view it may lead to slow load times as king will go deep inside the nodes to log those variables. Try to see what are the load times with debug bar disabled. I'll be submitting the PR to add config option for limiting the depth level and completely disabling Vars collector
Reply




Theme © iAndrew 2016 - Forum software by © MyBB