I did use the "ar_jdbc" mode which should have settings like production has.

For instance:
echo 'load "script/benchmark_action"' | ~/jruby-1_0/bin/jruby -J-server
-J-Djruby.jit.enabled=false -J-Djruby.objectspace.enabled=false
script/console ar_jdbc

And yes, I saw the "JIT warmup" output.

Alexey: Have you also tried the latest 1.0.x (with IO sync removed)?


Raphaël Valyi wrote:
> 
> Sorry if you told it somewhere already,
> but are you sure to be in production mode? I suspect Rails to get
> inefficient in development mode that the compiler completes as it's
> re-compiling things over and over.
> 
> Raphaël Valyi
> 
> On 9/25/07, Alexey Verkhovsky <[EMAIL PROTECTED]> wrote:
>>
>> Two questions:
>>
>> 1. Did you pass -J-Djruby.objectspace.enabled=false ?
>> 2. Do you see the benchmarking script do JIT warmup when running under
>> JRuby?
>>
>> Charles: yep, I didn't change any settings other than
>> jruby.objectspace.enabled.
>>
>> --
>> 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
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/JRuby-vs-MRI---Petstore-shootout-tf4289470.html#a12889248
Sent from the JRuby - Dev mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email

Reply via email to