Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Performance
  • So I've been checking out Fuel over the last couple of days and it looks great. Only thing is that it's performance makes me slightly nervous. I need both the auth and orm packages in every page request which appears to be slowing things down quite a bit. When I measure render times using {exec_time} it tells me that each page request is taking about 0.05 seconds. Considering that this is a very "light" page, this is slightly worrying. Furthermore, I did some ApacheBench testing with 1000 requests and a concurrency level of 20 and I get about 40req/sec (machine specs: P8800, 8GB, Corsair P128). Does anyone have any other comments about Fuels performance?
  • That tells everybody exactly nothing without anything to compare it to. Even comparing to a simple PHP page isn't fair if that page doesn't take care of stuff like security, auth and DB. All of this is only meaningfull if we know what you are comparing it to. I can tell you we have taken care to keep Fuel as light as possible and have only the most basic stuff always loaded, and loading in the Orm and Auth packages only adds 2 very light files to the whole process if you don't use anything from the packages. Make a usefull comparisson to know how well we compare, and I know that we've stacked up pretty good and often the best when people did overhead comparisons. Also our project lead is deploying Fuel with a server setup that can take up to a couple of million of visitors, when you have to worry about those amounts of visitors it won't be Fuel or even PHP that's the bottleneck: you'll need caching, load-balancing and other measures to keep up with your visitors.
  • I wouldn't worry about the performance if I were you. While it's nothing scientific, I've been in the process of converting a CodeIgniter project over to Fuel and at least for my project it's somewhere around 20% faster. And like Jelmer said, if your website is busy enough to be concerned with this, it's unlikely going to be the bottleneck anyway. Also, people are successfully using CakePHP, Zend, and Symfony for busy sites and these frameworks are much much slower.

Howdy, Stranger!

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

In this Discussion