java integration java.util.HashMap performance regression ----------------------------------------------------------
Key: JRUBY-6018 URL: https://jira.codehaus.org/browse/JRUBY-6018 Project: JRuby Issue Type: Bug Components: Java Integration Affects Versions: JRuby 1.6 Environment: Linux hostname 2.6.35-30-generic #56-Ubuntu SMP Mon Jul 11 20:01:08 UTC 2011 x86_64 GNU/Linux java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.10.2) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mod Reporter: Brian Tatnall Attachments: hash_map_benchmark.rb Ruby accessors to java.util.HashMap are ~30x slower in 1.6.X compared to 1.5.6. rvm jruby-1.5.6,jruby-1.6.0,jruby-1.6.4 hash_map_benchmark.rb 1.5.6 []= took 0.197 seconds put took 0.073 seconds [] took 0.11 seconds get took 0.028 seconds 1.6.0 []= took 5.354 seconds put took 0.074 seconds [] took 5.049 seconds get took 0.028 seconds 1.6.4 []= took 4.589 seconds put took 0.068 seconds [] took 4.215 seconds get took 0.027 seconds -- This message is automatically generated by JIRA. 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