I have the same (performance) issue too. I believe this is due to MacRuby's 
JIT, which compiles the ruby source into machine code using LLVM. This improves 
performance dramatically for long-running apps, but in our case it seems to 
cause a big up-front penalty.

Does anyone else on list know if there is a way to disable the JIT? I'd love to 
do some performance comparisons and see if this helps.

On May 20, 2011, at 11:50 AM, Shannon Love wrote:

> Christian,
> 
> Reverting to Rspec 2.5 allowed rspec to run under macruby (so far.) However, 
> it is extremely slow compared to running under system ruby. it takes 10+ 
> seconds to run just an empty test and pegs out one of my cores to do so. 
> 
> Macruby should run faster than the system ruby 1.8.7 so I think I've still 
> got a Macruby problem somewhere. Guess I need to do another post. 
> 
> Thanks,
> Shannon

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to