On Apr 10, 10:12 am, Bruno Jouhier <bjouh...@gmail.com> wrote:
> @joeferner
>
> You are just such a concentrate of preconceived ideas.
>
> Take a realistic bench case, implement it with streamline and fibers and then 
> come back to us with figures. From my experience there are code patterns 
> where fibers beats callbacks 10 to 1.

beats 10 to 1 how? in code readability?

>
> Si please stop your bs and get real.

This example is a bit contrived and by no mean a realistic example but
I think it demonstrates the calling overhead quite well.
https://gist.github.com/2351793

On my machine I get 75ms for the streamline example and 3ms for the
pure node example. That's 25 times slower. I will agree that for many
real world cases this is a tiny piece of the overall time, but it does
exist, and for me I'm not willing to take that on.

Now that I've used streamline, I'm also not excited about having to
run _node or precompiling my javascript using "node -c". Running my
unit tests and deploying to my servers just got one step harder and
added to the overall complexity.

-- 
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to