0ctave/node-sync — Issue #12: The benchmark
Author: scriby
Created: 2012-01-12 01:38:03+00:00
State: open

I was looking at the benchmark provided comparing Sync and the event loop.

I'm not sure if this is intentional, but it's pretty unfair. The majority of the time spent in the event loop solution will be because of the process.nextTick. To really get a good comparison you should move the nextTick into the sum function.

Here's my results with the change (running in a VM):

Event-loop took 3741 ms
Sync took 18942 ms