Skip to content

Instantly share code, notes, and snippets.

@einaros
Created June 9, 2012 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save einaros/0aecce8dd50c78062e4d to your computer and use it in GitHub Desktop.
Save einaros/0aecce8dd50c78062e4d to your computer and use it in GitHub Desktop.

node 0.6.18

websocket-bench|master⚡ ⇒ node ws.js 
Generating 500 MB of test data ...
Running 4000 roundtrips of 128 kB binary data:	4.3s..  116.88 MB/s
Running 400 roundtrips of 1 MB binary data:	2.9s ...  136.61 MB/s
Running 1 roundtrips of 500 MB binary data:	8.7s...  57.58 MB/s
                                                                                                                                                                                            
websocket-bench|master⚡ ⇒ node worlize.js 
Generating 500 MB of test data ...
Running 4000 roundtrips of 128 kB binary data:	9.6s..  51.94 MB/s
Running 400 roundtrips of 1 MB binary data:	6.9s..  58.09 MB/s
Running 1 roundtrips of 500 MB binary data:	16.3s.. 30.69 MB/s

node 0.7.9

Generating 500 MB of test data ...
Running 4000 roundtrips of 128 kB binary data:  4.5s..  111.31 MB/s
Running 400 roundtrips of 1 MB binary data: 5.8s..  68.39 MB/s
Running 1 roundtrips of 500 MB binary data: 30.6s.. 16.32 MB/s

websocket-bench|master⚡ ⇒ node worlize.js 
Generating 500 MB of test data ...
Running 4000 roundtrips of 128 kB binary data:  9.2s..  54.13 MB/s
Running 400 roundtrips of 1 MB binary data: 9.4s..  42.41 MB/s
Running 1 roundtrips of 500 MB binary data: 36.3s.. 13.79 MB/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment