1.9 mode slower on redblack benchmark than 1.8 mode ---------------------------------------------------
Key: JRUBY-5427 URL: http://jira.codehaus.org/browse/JRUBY-5427 Project: JRuby Issue Type: Bug Components: Performance Affects Versions: JRuby 1.6RC1 Reporter: Charles Oliver Nutter There's something fishy up with the perf numbers on this redblack benchmark from git://gist.github.com/44301.git: {noformat} ~/projects/gist-44301 ➔ jruby -v --server bm1.rb jruby 1.6.0.RC1 (ruby 1.8.7 patchlevel 330) (2011-01-26 80ab30a) (Java HotSpot(TM) Server VM 1.6.0_22) [darwin-i386-java] ./red_black_tree.rb:37 warning: instance variable @instance not initialized 5.216 2.908 2.943 2.913 3.051 ~/projects/gist-44301 ➔ jruby --1.9 -v --server bm1.rb jruby 1.6.0.RC1 (ruby 1.9.2 patchlevel 136) (2011-01-26 80ab30a) (Java HotSpot(TM) Server VM 1.6.0_22) [darwin-i386-java] /Users/headius/projects/gist-44301/red_black_tree.rb:37 warning: instance variable @instance not initialized 5.799 3.627 3.566 3.664 3.585 {noformat} I tracked some of the overhead to the redispatching we do in for the new != method (it does a full raw callMethod of ==) but that's about as far as I got in exploring differential performance in 1.9 mode. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email