Skip to content

Instantly share code, notes, and snippets.

@einaros
Created June 19, 2012 19:56
Show Gist options
  • Save einaros/2956187 to your computer and use it in GitHub Desktop.
Save einaros/2956187 to your computer and use it in GitHub Desktop.

Text payload

Roundtrips of 64 B text payloads: node-0.7.12 6% faster
Roundtrips of 16 kB text payloads: node-0.7.12 26% faster
Roundtrips of 128 kB text payloads: node-0.7.12 34% faster
Roundtrips of 1 MB text payloads: node-0.7.12 35% faster

Binary payload

Roundtrips of 64 B binary payloads: node-0.7.12 4% faster
Roundtrips of 16 kB binary payloads: node-0.6.19 1% faster
Roundtrips of 128 kB binary payloads: node-0.6.19 1% faster
Roundtrips of 1 MB binary payloads: node-0.6.19 1% faster
Roundtrips of 10 MB binary payloads: node-0.6.19 2% faster
@einaros
Copy link
Author

einaros commented Jun 21, 2012

Measurements made over more than 500.000 roundtrips for each test case, with the 'ws' websocket library (https://github.com/einaros/ws).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment