From: Usaku NAKAMURA Date: 2012-02-06T19:34:19+09:00 Subject: [ruby-core:42369] [Backport93 - Backport #5592][Closed] ruby-1.9.3-p0 mswin IO#write still slower than 1.9.2 Issue #5592 has been updated by Usaku NAKAMURA. Status changed from Open to Closed ---------------------------------------- Backport #5592: ruby-1.9.3-p0 mswin IO#write still slower than 1.9.2 https://bugs.ruby-lang.org/issues/5592 Author: Akio Tajima Status: Closed Priority: Normal Assignee: Category: Target version: In spite of Backport #5585, ruby-1.9.3-p0 is 10 times slower than 1.9.2. #-test script t=Time.new str = '0123456789'*10 open('test.txt','wb') do |f| 100000.times do f.write str end end puts "Write:#{Time.new-t}(s)" ruby 1.9.2p290 (2011-07-09) [i386-mswin32_100] Write:0.068004(s) ruby 1.9.3p0 (2011-10-30) [i386-mswin32_100] # after #5585 applied Write:0.914052(s) I've reviewd r33667(trunk) and accepted its effectiveness. Thanks usa for your good job. After the patch was applied, the test result: ruby 1.9.3p0 (2011-10-30) [i386-mswin32_100] Write:0.069004(s) ruby 1.9.3p0 (2011-10-30) [x64-mswin64_100] Write:0.066004(s) Please backport the patch. Thanks. -- http://bugs.ruby-lang.org/