From: "Hal E. Fulton" Date: 2001-03-29T09:41:29+09:00 Subject: [ruby-talk:13299] Re: ruby slowww socket handling ----- Original Message ----- From: rise To: ruby-talk ML Sent: Wednesday, March 28, 2001 4:20 PM Subject: [ruby-talk:13298] Re: ruby slowww socket handling > On Thu, 29 Mar 2001, Joseph McDonald wrote: > > > So ~20,000 messages per second. > > half the speed of perl, but much better than 62 per second :-) > > > > So problem in IO::puts? > > It looks like two problems to me: one is that the IO#puts behavior of > adding a newline is either a) not working or b) really slow. > > The other is that when the perl version is tested against an echo server > without a newline it also blocks/slows down massively. > > Jonathan Conway > OK, I'm weak on networking. But could the problem be related to a buffering issue? I know that with console output, a newline flushes the buffer... Hal