IO foreach performance is slower than MRI
-----------------------------------------
Key: JRUBY-2810
URL: http://jira.codehaus.org/browse/JRUBY-2810
Project: JRuby
Issue Type: Bug
Components: Performance
Reporter: Charles Oliver Nutter
Based on bench_io_foreach under test/bench:
{noformat}
~/NetBeansProjects/jruby ➔ jruby --server test/bench/bench_io_foreach.rb
user system total real
IO.foreach(file) 9.223000 0.000000 9.223000 ( 9.222471)
user system total real
IO.foreach(file) 7.922000 0.000000 7.922000 ( 7.921815)
user system total real
IO.foreach(file) 7.939000 0.000000 7.939000 ( 7.939023)
user system total real
IO.foreach(file) 8.071000 0.000000 8.071000 ( 8.071060)
user system total real
IO.foreach(file) 7.893000 0.000000 7.893000 ( 7.892786)
~/NetBeansProjects/jruby ➔ ruby test/bench/bench_io_foreach.rb
user system total real
IO.foreach(file) 6.110000 0.340000 6.450000 ( 6.521132)
user system total real
IO.foreach(file) 6.100000 0.310000 6.410000 ( 6.463776)
user system total real
IO.foreach(file) 6.070000 0.300000 6.370000 ( 6.410429)
user system total real
IO.foreach(file) 6.060000 0.300000 6.360000 ( 6.373790)
user system total real
IO.foreach(file) 6.120000 0.320000 6.440000 ( 6.503263)
{noformat}
--
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