Link Details

Link 82792 thumbnail
User 275217 avatar

By canglan
via thislab.com
Published: May 25 2008 / 18:51

Today, when someone was asking on a forum about the efficiency of web frameworks, I thought I’d give the few frameworks I work with some more benchmark testing. So I went ahead and benchmarked CodeIgniter, Kohana and Rails, using a simple ‘Hello World!’ page. Now before I post any benchmark results, you should know that I have previously done a benchmark test on CodeIgniter, Kohana and CakePHP. CodeIgniter and Kohana shared similar results. This time though, the benchmark results surprised me.
  • 8
  • 7
  • 2814
  • 933

Comments

Add your comment
User 152955 avatar

Gregg Bolinger replied ago:

0 votes Vote down Vote up Reply

I can't bring myself to vote on this but I will say "Hello World" benchmarks mean squat. All those frameworks tout the ease and quickness of putting an application together. So why not do that? The same for each framework, and then benchmark that.

Rails might very well handle requests that much faster than CodeIgniter but Rails might be slower hitting the database. I don't know this for a fact, its just an example. But the author apparently doesn't know either. Please, just no more "Hello World" benchmarks, for any framework. It's pointless.

User 281261 avatar

RobertL replied ago:

0 votes Vote down Vote up Reply

I'm wondering out loud how relevant this whole issue of "benchmarking" is. One obviously doesn't want to be bogged down by their framework but the highest value in any given application is the developers time not the processors.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.