![]() |
Weird issue after cloning my project. It is always slower than the original - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Weird issue after cloning my project. It is always slower than the original (/showthread.php?tid=79422) |
Weird issue after cloning my project. It is always slower than the original - superbrands - 06-13-2021 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. RE: Weird issue after cloning my project. It is always slower than the original - InsiteFX - 06-13-2021 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! RE: Weird issue after cloning my project. It is always slower than the original - najdanovicivan - 06-16-2021 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 |