EllisLab text mark
Advanced Search
Codeigniter vs simple php server load?
Posted: 05 January 2011 03:30 PM
Joined: 2011-01-01
4 posts

Is there some benchmark test done for php vs simple php scripts for server loads?

I am planning to create a bunch of facebook apps, some would be kinda complex, others would be a single php file without any db access. I was thinking about using codeigniter for this so I can learn a little more about the framework (im quite new), but I am worried that it could add unnecessary server load with the simple “one php file” apps.

Posted: 05 January 2011 03:59 PM   [ # 1 ]   [ Rating: 0 ]
Joined: 2010-07-16
530 posts

Well, no framework - what so ever - will ever be fast as a single PHP file. Framework, by nature has to include (load) at least some files, so at the very beginning it looses battle against single PHP file.

For more complex files you really have to take in consideration what those files have to do and if in their cases they will be faster / take less memory within the framework.

But single file is single file grin


Posted: 05 January 2011 05:03 PM   [ # 2 ]   [ Rating: 0 ]
Joined: 2011-01-01
4 posts

Thanks, I guess I will use codeigniter for the more complex apps then.