tag:blogger.com,1999:blog-4704664917418794835.post84341755904044982..comments2023-07-01T05:41:30.469-07:00Comments on Headius: Updated Alioth Numbers for JRuby 1.1b1headiushttp://www.blogger.com/profile/15717357218364947795noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4704664917418794835.post-13562408896646538882007-11-05T12:26:00.000-08:002007-11-05T12:26:00.000-08:00"startup, beyond being a touch unfair for a J...<i>"startup, beyond being a touch unfair for a JVM-based language right now ..."</i><br><br>I have to disagree with that ;-)<br><br>It might be <i>irrelevant</i> if we only ever invoke the programs on a long running JRuby server, but that might not be what we're doing.<br><br>We're talking about JRuby startup ~25x slower than Java startup, ~10x slower than Rhino startup.<br><br>If you think startup will still be this slow beyond the beta then I think you need to loudly set expectations.<br><br><br><i>"pidigits is simply too short for JRuby to hit its full stride"</i><br><br>Which is a most euphemistic way of saying JRuby startup is <i>so slow</i> that it swamps the calculation time :-)<br><br>Long startup time is <i>an explanation</i> why a program is slow - it doesn't make the program any faster.Isaac Gouyhttp://www.blogger.com/profile/02902123247585964087noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-18631560919541403932007-11-07T09:01:00.000-08:002007-11-07T09:01:00.000-08:00That's great news, but I have to agree with Is...That's great news, but I have to agree with Isaac. Startup times shouldn't be ignored - especially given the scripting language aspect of Ruby. If you want to use JRuby for short scripts, you'd want it to startup pretty much immediately. <br><br>Putting Ruby on the JVM brings some amazing benefits, but there's no getting away from the fact it's Java. That's the price of progress I suppose :-/ Is there any way that JRuby could be launched in a 'light' mode that sacrifices long term performance for a quicker start up through dynamic loading, or is this entirely down to JVM startup times?<br><br>Good Work!<br><br>StuStuart Holdennoreply@blogger.com