If I used Code Igniter or the Cake Framework, will it affect the performance of my application?
If you define performance as speed of execution, then the answer is
Frameworks offer abstractions over PHP's native functions. Whenever you put an abstraction onto something, you incur the penalty of loading the abstraction and invoking it's functions. Frameworks are usually general abstractions, that cater to a lot of UseCases. Solving a specific UseCase in your application can likely be solved with less abstraction.
But with frameworks you gain better modularization, faster development times (if you know the framework), better maintainability and (hopefully) tested code, which is usually worth it. That's not to say, always use a framework, but always consider the tradeoff - then decide.
As for benchmarks, well, have a look at
Look here, PHP framework comparison benchmarks.
But, if you need very fast performance, I would advise Yii because of its awesome performance.:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With