Welcome Guest, Not a member yet? Register   Sign In
Very slow if $data is big
#10

Thanks superior! I've activated the extension as suggested, here is the result:

Redirect            0
DNS                  0
Connect             0
Request             10090
Response           1
DOM                 1328
Parse                  762
Execute Scripts  0
Content loaded  1
Sub Resources  565
Load event        1
Total                  11422

So it's the "request" part of it that is slow. Is it telling that the slowness is created by mysql queries? When I execute the queries in CI and print the result, it's quite fast. Following my tests, the slowness happen when I pass the result variables to the view, but maybe i'm wrong.

I've also tested to only get few results from the queries and the speed seems normal.

I know that 415 results is not very big, but I get multiple arrays of multiple objects puts together in $data variable that is passed to the view, and that's what CI doesn't seems to like.

Can I do other tests to have more precisions on the problem?

Thanks for your help!
--
MarieveStrange
Web Programmer
Reply


Messages In This Thread
Very slow if $data is big - by MarieveStrange - 01-19-2023, 02:15 PM
RE: Very slow if $data is big - by InsiteFX - 01-20-2023, 12:52 AM
RE: Very slow if $data is big - by nc03061981 - 01-20-2023, 01:36 AM
RE: Very slow if $data is big - by davis.lasis - 01-20-2023, 02:46 AM
RE: Very slow if $data is big - by php_rocs - 01-20-2023, 09:45 AM
RE: Very slow if $data is big - by sheilaf - 01-20-2023, 12:19 PM
RE: Very slow if $data is big - by InsiteFX - 01-21-2023, 12:04 AM
RE: Very slow if $data is big - by MarieveStrange - 01-23-2023, 07:57 AM
RE: Very slow if $data is big - by superior - 01-23-2023, 08:54 AM
RE: Very slow if $data is big - by MarieveStrange - 01-24-2023, 01:02 PM
RE: Very slow if $data is big - by superior - 01-25-2023, 01:10 AM
RE: Very slow if $data is big - by MarieveStrange - 01-25-2023, 07:47 AM
RE: Very slow if $data is big - by superior - 01-25-2023, 08:39 AM
RE: Very slow if $data is big - by MarieveStrange - 01-25-2023, 09:40 AM
RE: Very slow if $data is big - by superior - 01-25-2023, 10:31 AM
RE: Very slow if $data is big - by MarieveStrange - 01-25-2023, 02:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB