[Haskell-cafe] Preferred way to get data from a socket

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Jun 27 07:51:33 EDT 2007

Hello Bulat,

Wednesday, June 27, 2007, 3:34:02 PM, you wrote:

>> What machine did you do the IO benchmarks on? Since we get well over 10x
>> that speed word writing in Data.Binary now, for example, on a fast
>> machine. (Duncan, what's the max throughput we've seen?)

> test box was Duron 1.2 GHz with 230 mb/s raw memory copy throughput.

oh, i've said about ByteString i/o speed because it was what Chad
asked. but actually he will probably need just to (de)serialize data
and best speeds here i've seen is 40-50 mb/s on my box. when going to
(de)serialization my lib reads/writes each byte individually and it's
the reason why it should be slower than Data.Binary

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list