« Return to Thread: performance questions
How many requests are you running through to gather your numbers? I've found that it usually takes a couple hundred requests to get JRuby warmed up enough to really start seeing benefits. I use the Apache bench command line tool to run a few thousand requests through my application. While the requests run you can see the moment the compiler kicks in the requests start going through so much faster. Remember both the JVM itself and your Ruby code need to get warmed up and optimized before you will see benefits.
From my experience JRuby 1.3 and the Glassfish Gem were always faster than passenger or mongrel.
JoeOn Fri, Jun 19, 2009 at 11:33 AM, Marlon Moyer <marlon@...> wrote:
I've recently been testing jruby vs REE/Passenger. I've got a rails v 2.3.2 project using mysql as a backend. I've used jruby/mongrel and the glassfish gem. I can't get it running on Glassfish server for some odd reason (always give me a "Module not recognized" error when I deploy).
Anyway, in all my testing, jruby is showing to be slower than REE running under passenger or even REE running mongrel running the site. When I run benchmarks like the one from Charles' blog -- the Takeuchi function, jruby smokes REE.
Is what I'm seeing normal?
Thanks,
--
Marlon
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
« Return to Thread: performance questions
| Free embeddable forum powered by Nabble | Forum Help |