rev_thread_spawn: make 1.9 TeeInput performance tolerable
commit692ae11f5814e318964f90db2087bd9d11563b20
authorEric Wong <normalperson@yhbt.net>
Mon, 9 Nov 2009 10:37:26 +0000 (9 02:37 -0800)
committerEric Wong <normalperson@yhbt.net>
Mon, 9 Nov 2009 10:50:04 +0000 (9 02:50 -0800)
tree18aa7ba6de637422aa49ec0bb6c796efa93eabab
parent8cd6f4d94503a568501b6e24bb785a8e002720c9
rev_thread_spawn: make 1.9 TeeInput performance tolerable

Somehow 1.8 performance blows with shorter reads in the Rack
application.  This may be because the Rev framework uses
a default 16K IO size and our test applications may request
less.
lib/rainbows/ev_thread_core.rb
lib/rainbows/rev_thread_spawn.rb