Re: comparison of ROR and a java based web framework

Phlip
Sun, 25 Feb 2007 06:39:18 -0000

doniv wrote:

> also i am not looking for any complex web application since this is a
> course project...so i would probably test on the sample shopping cart
> application that we see in ROR papers. so i guess i hav to implement
> in this j2ee or something like that..or is it already done by someone?

Try line count. A Ruby project will typically have 10% of the lines of a
Java project.

Then try development speed.

> how to compare two frameworks? thats the big question...i was googling
> around..n found that there is a "mercury loadrunner" which gives
> performance stats. is it a good one? or is there any open source s/w
> which can do that job.

That''s apples-and-oranges. Mercury is designed for people who write a
slow
site and then want to tune it to make it faster. Using it to compare two
different sites would "laminate" the signals together. That means
mixing
statistics from diverse sources. One site would be faster on one feature
while another is faster on another feature, and the average would not reveal
which web platform was "better".

Development speed is much more important than execution speed (and Ruby is
hardly the zippiest language!), because programmers who finish their
features first will have time to profile their app and find the truly slow
parts. They are usually easily fixed, once identified.

So if one language only requires 10% of another, which do you think is
faster to develop features?

--
  Phlip
  http://www.greencheese.us/ZeekLand <-- NOT a blog!!!