Skip to main content

LOTD #16: Hotspot Flags, JRuby Version String, and JRuby/MRI Benchmark

Posted by arungupta on February 4, 2009 at 7:08 AM PST



This post shares 3 links that were recently published.



The first one is about the href="http://blog.headius.com/2009/01/my-favorite-hotspot-jvm-flags.html">Favorite
Hotspot JVM Flags by Charlie.
See how you can use them for tweaking performance or investigating
runtime metrics.



The second one is about using href="http://blog.headius.com/2009/01/jruby-version-string.html">JRuby
Version String. It explains the detailed meaning of the
version string printed by "jruby --version". If you read it carefully
then you know the date, hardware, platform, SVN revision and even state
of Charlie's local git-svn clone.



The third and the last one is about benchmark results between MRI and
JRuby with the following summary:



From my tests it appears
that MRI is faster in single threaded mode, but JRuby makes up for the
loss big time in the multi-threaded tests. It's also interesting to see
that the multi-threaded mode gives MRI(green threads) a performance
boost, but it's nowhere close to the boost that JRuby(native threads)
can squeeze out from using multiple threads.
style="font-style: italic;">


Read href="http://blog.igorminar.com/2009/01/benchmarking-jruby-on-rails.html">Igor's
report for more results.



And while you are reading this entry, did you know that href="http://rubyforge.org/projects/glassfishgem/">GlassFish
Gem 0.9.2 was href="http://weblogs.java.net/blog/vivekp/archive/2009/01/glassfish_gem_0_2.html">recently
released ? Use it for running your Rails applications
seamlessly :)



All previous entries in this series are archived at href="http://blogs.sun.com/arungupta/tag/lotd">LOTD.




Technorati: lotd
glassfish
v3 href="http://technorati.com/tag/gem">gem href="http://technorati.com/tag/jruby">jruby href="http://technorati.com/tag/ruby">ruby href="http://technorati.com/tag/hotspot">hotspot href="http://technorati.com/tag/vm">vm

Related Topics >>