Performance - jRoR vs JSP - basic response of 30-40 ms on jRoR, 2-4ms on JSP

Has anyone done any recent benchmarking on RoR vs. JSP?
Our testing on a very simple URL that simply shows the time indicates
that RoR (or jRoR to be exact) seems to take 30+ms to return the
results. This is contrast to 2-4ms for JSP. Is 30+ms reasonable with
your experience or have we messed something up? We are running on
Tomcat btw.

Thanks

On Fri, Aug 6, 2010 at 7:29 PM, dc tech [email protected] wrote:

Has anyone done any recent benchmarking on RoR vs. JSP?
Our testing on a very simple URL that simply shows the time indicates
that RoR (or jRoR to be exact) seems to take 30+ms to return the
results. This is contrast to 2-4ms for JSP. Is 30+ms reasonable with
your experience or have we messed something up? We are running on
Tomcat btw.

That sounds totally broken. I don’t see anything close to that kind
of lag on Tomcat, Glassfish, or any other container I’ve tried.

Are you using NewRelic or rails-footnotes or anything to monitor your
app? That would be a good first step, I’d say.

FWIW,

Hassan S. ------------------------ [email protected]
twitter: @hassan

No - have not tried that. These timingsa were with a simple time app.
Could you check your timing for a hello world type of a simple app?

On 8/7/10, Hassan S. [email protected] wrote:

“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Sent from my mobile device

On Sat, Aug 7, 2010 at 7:55 PM, dc tech [email protected] wrote:

No - have not tried that. These timingsa were with a simple time app.
Could you check your timing for a hello world type of a simple app?

Why don’t you post your instrumented test case and I’ll run it? :slight_smile:


Hassan S. ------------------------ [email protected]
twitter: @hassan