Posts: 4
Threads: 1
Joined: Jul 2015
Reputation:
0
07-03-2015, 09:10 PM
i have just upgrade to ci 3.0 for few days. (just copy old code to new ci 3.0 folder then re-config)
When running with same config, i found out ci 3.0 run slower than 2.2 versions
In ver 2.2:
code execute < 100ms
ver 3.0:
code execute > 1100ms
All external files in 2 versions return same loading time (few percent difference)
But time to execute code in ver 3.0 is ten times slower than 2.2.
It's not worth upgrading, if website need 1 second more to execute
Can anybody help me, please?
Posts: 4
Threads: 1
Joined: Jul 2015
Reputation:
0
Test again
Just download 2 versions of codeigniter
Install then run welcome page.
Give same result.
Posts: 1,321
Threads: 21
Joined: Jan 2014
Reputation:
70
Posts: 479
Threads: 41
Joined: Oct 2014
Reputation:
2
07-04-2015, 07:22 PM
(This post was last modified: 07-04-2015, 09:20 PM by John_Betong.)
Hi shank,
Version 3 is a big improvement and once optimized is not slow.
Yesterday I eventually made the "Calendar Class" Google Mobile Friendly but the results are still to be cached. Time to load, etc, is shown on the last line.
http://www.johns-jokes.com/joke-of-the-day
I am very happy with the results
Posts: 4
Threads: 1
Joined: Jul 2015
Reputation:
0
(07-04-2015, 10:07 AM)ciadmin Wrote: Check http://forum.codeigniter.com/thread-1579...erformance
Thank you, but still not work.
(07-04-2015, 07:22 PM)John_Betong Wrote: Hi shank,
Version 3 is a big improvement and once optimized is not slow.
Yesterday I eventually made the "Calendar Class" Google Mobile Friendly but the results are still to be cached. Time to load, etc, is shown on the last line.
http://www.johns-jokes.com/joke-of-the-day
I am very happy with the results 
I don't know how can you make it running in ~600ms - 800ms (its faster than my base code i dowloaded on codeigniter's site) but just see the base code welcome.php(default db, default config)
In CI 2.2.0, Page load is faster than blink of an eye.
Posts: 479
Threads: 41
Joined: Oct 2014
Reputation:
2
I noticed you are running the Dev version, try using 3.0 version.
The low value on my site is no doubt helped because the server uses a SSD.
Posts: 1,589
Threads: 1
Joined: Oct 2014
Reputation:
121
(07-05-2015, 06:25 PM)shank Wrote: (07-04-2015, 10:07 AM)ciadmin Wrote: Check http://forum.codeigniter.com/thread-1579...erformance
Thank you, but still not work.
(07-04-2015, 07:22 PM)John_Betong Wrote: Hi shank,
Version 3 is a big improvement and once optimized is not slow.
Yesterday I eventually made the "Calendar Class" Google Mobile Friendly but the results are still to be cached. Time to load, etc, is shown on the last line.
http://www.johns-jokes.com/joke-of-the-day
I am very happy with the results 
I don't know how can you make it running in ~600ms - 800ms (its faster than my base code i dowloaded on codeigniter's site) but just see the base code welcome.php(default db, default config)
In CI 2.2.0, Page load is faster than blink of an eye.
Did you see this one? http://forum.codeigniter.com/thread-1579...#pid316310
Posts: 4
Threads: 1
Joined: Jul 2015
Reputation:
0
(07-04-2015, 10:07 AM)ciadmin Wrote: Check http://forum.codeigniter.com/thread-1579...erformance
(07-06-2015, 12:18 AM)Narf Wrote: (07-05-2015, 06:25 PM)shank Wrote: (07-04-2015, 10:07 AM)ciadmin Wrote: Check http://forum.codeigniter.com/thread-1579...erformance
Thank you, but still not work.
(07-04-2015, 07:22 PM)John_Betong Wrote: Hi shank,
Version 3 is a big improvement and once optimized is not slow.
Yesterday I eventually made the "Calendar Class" Google Mobile Friendly but the results are still to be cached. Time to load, etc, is shown on the last line.
http://www.johns-jokes.com/joke-of-the-day
I am very happy with the results 
I don't know how can you make it running in ~600ms - 800ms (its faster than my base code i dowloaded on codeigniter's site) but just see the base code welcome.php(default db, default config)
In CI 2.2.0, Page load is faster than blink of an eye.
Did you see this one? http://forum.codeigniter.com/thread-1579...#pid316310
Yes, i saw it.
But in system/libraries/Session/drivers/Session_database_driver.php line 94
CI will auto aborting if "pconnect" config set TRUE
Disable that lines and set pconnect TRUE will increase performance to ~30 milisecond loading.
(Why did they let us config while treat it like an error? LOL)
By the way, with CI 2.2.0 i can set pconnect TRUE, FALSE and whatever it is, page loading time always < 10 milisecond (my favorite framework, fast like hell  )
Posts: 1,589
Threads: 1
Joined: Oct 2014
Reputation:
121
(07-06-2015, 01:42 AM)shank Wrote: (07-06-2015, 12:18 AM)Narf Wrote: Did you see this one? http://forum.codeigniter.com/thread-1579...#pid316310
Yes, i saw it.
But in system/libraries/Session/drivers/Session_database_driver.php line 94
CI will auto aborting if "pconnect" config set TRUE
Disable that lines and set pconnect TRUE will increase performance to ~30 milisecond loading.
(Why did they let us config while treat it like an error? LOL)
By the way, with CI 2.2.0 i can set pconnect TRUE, FALSE and whatever it is, page loading time always < 10 milisecond (my favorite framework, fast like hell )
Yeah, well ... if you want to set pconnect to TRUE, don't use database sessions. It's all made that way for a reason.
Posts: 2
Threads: 1
Joined: Mar 2016
Reputation:
1
I had problems with performances as well on my app built with CI3 and at the end i found that all the issues were related to database sessions, in fact switching from db to file session everything is now super fast.
Note: the problem was noticeable only online when hundreds of users were connected and using the software at the same time.
|