jruby slower I/O than MRI in certain cases ------------------------------------------
Key: JRUBY-6111 URL: https://jira.codehaus.org/browse/JRUBY-6111 Project: JRuby Issue Type: Bug Components: Windows Environment: jruby 1.7.0.dev (ruby-1.8.7-p330) (2011-10-05 a4c297e) (Java HotSpot(TM) Client VM 1.6.0_24) [Windows 7-x86-java] and jruby 1.7.0.dev (ruby-1.8.7-p330) (2011-10-05 b188fb2) (Java HotSpot(TM) Client VM 1.6.0_17) [linux-i386-java] Reporter: Roger Pack Hello. With this code, which reads through a file, does some regex: https://gist.github.com/1265504 With MRI 1.8.7, windows, times are: 4.46178388595581 6.51960682868958 with jruby: c:\Temp>j -v jruby 1.7.0.dev (ruby-1.8.7-p330) (2011-10-05 a4c297e) (Java HotSpot(TM) Client VM 1.6.0_24) [Windows 7-x86-java] c:\Temp>j --server morph_mri_wins.rb 5.31399989128113 10.2940001487732 so slower, which I was told to report as a bug :) On linux jruby --server seems consistently faster than MRI 1.8.x and 1.9.1p243 so maybe it's an ASCII line ending thing? -- 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