Java vs. Groovy vs. JRuby

I was doing some benchmark testing on my robotics programs for vision testing and I got some interesting results. For the most complicated program Java took 5312ms, Groovy took 5453ms, and JRuby took 5531ms.

I was amazed at how close they were given that all the computer shootouts say that Groovy is slow and JRuby is slow, but I am finding that they are all about the same once they are compiled. That of course makes sense, since Groovy and JRuby are both compiled into Java classes, but I was amazed at how fast they were, only 100 milliseconds slower than Java in Eclipse.

This really makes me wonder about what I will use in the robot, Groovy or JRuby???

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • LinkedIn
  • RSS
  • StumbleUpon
  • Twitter

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)