On Apr 10, 11:12 am, Bruno Jouhier <[email protected]> wrote: > Your bench does not make sense. There is no async call at all. So there is no > reason to have an _ in the streamline source. > > Streamline does not transform sync fonctions. So the Streamline version of > this bench should take 3 ms. > > Callback != asynchronous > > Try again with an async call
I was trying to demonstrate the call overhead but here is an example with some async code https://gist.github.com/2352116 again a bit contrived because I really didn't want to spend much time on this. streamline did close the gap a bit which is what I suspected when I said "I will agree that for many real world cases this is a tiny piece of the overall time". But it was still twice as slow. (node 565ms and streamline 1049ms) -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
