« Return to Thread: JRuby vs MRI - Petstore shootout

Re: JRuby vs MRI - Petstore shootout

by Alexey Verkhovsky-2 :: Rate this Message:

Reply to Author | View in Thread

On 8/30/07, Charles Oliver Nutter <charles.nutter@...> wrote:
> > JETTY (ObjectSpace disabled)
> > logging enabled: 29 req/sec
> > logging disabled: 45 req/sec (!)

> It's likely that similar
> IO bottlenecks exist for sockets, which would certainly explain to some
> extent overall poor performance.

Jetty scenario with logging turned off, obviously, involves
practically no I/O at JRuby level at all. I've tried to profile it,
and saw no obvious bottlenecks in core classes. Most of the CPU time
seems to consumed within the JRuby runtime stuff (ThreadContext,
RubyObject and such).

By the way, Petstore is a very simple Rails application. I'm going to
do some comparisons with a couple of much bigger apps TW is building,
we'll see how that stacks up. I won't be able to publish it, like
Petstore, but I'll try to at least write up the general observations.

--
Alexey Verkhovsky
CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com]
RubyWorks [http://rubyworks.thoughtworks.com]

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

 « Return to Thread: JRuby vs MRI - Petstore shootout