Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
FuelPHP benchmark
  • Hey guys, I've been looking some benchmarks and found this PHP Framework Comparison but sadly there is noo FuelPHP fthere. Is there any other benchmark with it?
  • I still have to see the first benchmark that actually says something.

    In the link you posted, they test 'Hello World'. Depending on the bootstrap code of the framework, that can either be extremely fast (since nothing is loaded but the absolute minimum to produce HTML) or extremely slow (because stuff gets loaded that a static HTML doesn't need, but any application will).

    For example, I know Codeigniter's "hello world" is limited to a few lines of HTML. Our "hello world" contains graphics and CSS, and a bit of twitter bootstrap, which means extra stuff is loaded. We also run security code on everything being send out by default, which other frameworks don't do.

    The primary architectural goal of FuelPHP isn't execution speed. If you need raw speed, don't use a framework. We focus on development speed, as FuelPHP is used a lot in "commercial" environments, where time == money, and the cost of a faster CPU is irrelevant compared to the hourly wage of a developer.

    Having said that, we do keep an eye on the efficiency of every piece of code that goes into the framework, and we don't include anything we feel is application specific, and should be in an add-on package. We even have a community member that constantly profiles the code, to look for performance optimalisation.

    We are therefore quite confident that we'll be up there with the other frameworks.

    Perhaps you can ask the person who's done the benchmarks to run FuelPHP on the same hardware?
  • Actually it says they they didn;t wan't to do it just "hello world". the line of text you are referring too is them quoting yiis' site
  • Correct. They added one database query to it. I don't expect that to make much difference, how inefficient can you make a query builder?
  • They now added FuelPHP too =) Basically it's just where I thought it would be: on par with kohana

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion