Performence problem |
Hi,
I work on my project on local using `php spark` and today I publish my project on server and here is a problem. Because time to load site on the server is several times longer than local. Can anyone know where is a problem? Starter controller for CI4: Local: Code: Bootstrap - 1.02 ms PHP version: Code: PHP 7.2.24-0ubuntu0.18.04.1 (cli) (built: Oct 28 2019 12:07:07) ( NTS ) Server: Code: Bootstrap - 204.82 ms PHP version: Code: PHP 7.2.24 (cli) (built: Oct 25 2019 15:21:24) ( NTS )
IT's most likely the IonCube which is code protection.
It takes time to decode all of your code so that it can run. Try loading you app without IonCube then do a benchmark test. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(11-26-2019, 03:27 PM)InsiteFX Wrote: IT's most likely the IonCube which is code protection. Thank you very much You are my hero IonCube disabled and the performance increase is amazing => 5600ms vs 250ms |
Welcome Guest, Not a member yet? Register Sign In |