fastruby/fast-ruby

JRuby warmup

rjnienaber opened this issue · 2 comments

This was sort of touched upon in #23 in the sense that JRuby may end up doing something different from MRI. The one major problem I see with these benchmarks is they don't include a warm up phase which the JVM sometimes uses for optimisation. There are potentially other things that we would want to enable specifically for JRuby.

Hi! I have no experience with JRuby but would love to see some optimisations pre-configured for JRuby. Does JRuby optimisations affects MRI? If not we can add those optimizations and make it fair for JRuby. Feel free to open pull request for this, thanks so much!

Does JRuby optimisations affects MRI? If not we can add those optimizations and make it fair for JRuby.

I don't think so. The optimisations talked about in that StackOverflow post are specific to the JVM. I'll see what I can do.