On 7/10/06, Charles O Nutter <[EMAIL PROTECTED]> wrote:

Pure ruby in JRuby: 25.7s
"Compiled" in JRuby: 8.8s
Pure ruby in Ruby: 2.0s
Pure Java: 0.014s

- However, even when interpretation is removed from the equation, we're still over four times slower than Ruby. That's not good.

It's a good bump, but like you say, still slow.  Where do you suspect we're losing so much performance?  String manipulation and unnecessary object creation?

A fascinating comparison, nonetheless.  That pure java number is such a tease when considering that we'll never really get there. 

Somewhat offtopic, I wonder how INVOKEDYNAMIC would help in this case -- with the JVM potentially becoming open source soon, I would think it would be a lot easier to get a hold of an early-access patch and compile your own VM.  What do you see needing to change in the current interpreter infrastructure to be able to take advantage of it?

/Nick

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to