Could you please post the code for this benchmark.

Also, being a "dynamic" language does not mean certain operations are slower or 
faster, it just means that the optimizations that need to happen for something 
to be fast live in a vm rather than a compiler.

On Jun 21, 2013, at 1:09PM, Kaveh Shahbazian <kaveh.shahbaz...@gmail.com> wrote:

> I have implemented a simple echo server in both Go and Node.JS. On my current 
> machine (4 GB RAM, 2 Cores 2.6) the results are:
> 
> Go:
> sent: 100% rcvd: 100%, fail: 0%, count: 10000
> 1950.98729712171 op/sec
> sent: 100% rcvd: 100%, fail: 0%, count: 5000
> 1935.92528691284 op/sec
> sent: 100% rcvd: 100%, fail: 0%, count: 50000
> 1941.62775741722 op/sec
> 
> Node.JS:
> sent: 100% rcvd: 100%, fail: 0%, count: 10000
> 2664.94681658911 op/sec
> sent: 100% rcvd: 100%, fail: 0%, count: 5000
> 2740.86607750106 op/sec
> sent: 100% rcvd: 100%, fail: 0%, count: 50000
> 2829.08137679441 op/sec
> 
> How is it tha Node.JS performs better; based on a dynamic language?
> 
> Note: I love Go and I'll use it every chance I get. This is just a very very 
> basic benchmark (maybe flawed); and if I implement the message parsing part 
> too, I am not sure which one would do better because there would be a CPU vs 
> I/O throttling in work.
> 
> -- 
> -- 
> 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
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to nodejs+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to