On May 20, 02014, at 13:29, Jeff Jolma <[email protected]> wrote:

> Hello.
> 
> I am working on a node app and found that its performance bottleneck is 
> logging. And digging deeper, it looks like the root bottleneck is on the 
> WriteStream.
> 
> I ran some quick benchmarks of the WriteStream performance, and it seems 
> really slow.  Can someone help me understand why it is taking so long and if 
> I can improve the performance?  Or, maybe I am doing something wrong with my 
> benchmarks.
> 
> I get the following output running on my MacBook:


Your benchmarks look  a little suspect — setInterval rather than 
stream.on(‘finish’), and the async write case, you close the fd before you 
finish writing.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to