Skip to content

Instantly share code, notes, and snippets.

@piscisaureus
Created July 19, 2011 16:26
Show Gist options
  • Save piscisaureus/1092966 to your computer and use it in GitHub Desktop.
Save piscisaureus/1092966 to your computer and use it in GitHub Desktop.
Before:
[% 0|+ 1|- 0]: ping_pongsping_pongs: 24979 roundtrips/s
[% 0|+ 2|- 0]: tcp_pump100_clienttcp_pump100_client: 1.4 gbit/s
[% 0|+ 3|- 0]: tcp_pump1_clienttcp_pump1_server: 1.4 gbit/s
tcp_pump1_client: 1.4 gbit/s
[% 0|+ 4|- 0]: pipe_pump100_clientpipe_pump100_server: 5.4 gbit/s
pipe_pump100_client: 5.3 gbit/s
[% 0|+ 5|- 0]: pipe_pump1_clientpipe_pump1_server: 5.4 gbit/s
pipe_pump1_client: 5.4 gbit/s
[% 0|+ 6|- 0]: gethostbynameares_gethostbyname: 1000 calls in 146 ms
[% 0|+ 7|- 0]: getaddrinfogetaddrinfo: 10000 calls in 1580 ms (6329 requests/second)
After:
[% 0|+ 1|- 0]: ping_pongsping_pongs: 29774 roundtrips/s
[% 0|+ 2|- 0]: tcp_pump100_clienttcp_pump100_client: 1.3 gbit/s
[% 0|+ 3|- 0]: tcp_pump1_clienttcp_pump1_server: 1.4 gbit/s
tcp_pump1_client: 1.4 gbit/s
[% 0|+ 4|- 0]: pipe_pump100_clientpipe_pump100_server: 7.4 gbit/s
pipe_pump100_client: 7.3 gbit/s
[% 0|+ 5|- 0]: pipe_pump1_clientpipe_pump1_server: 7.9 gbit/s
pipe_pump1_client: 7.7 gbit/s
[% 0|+ 6|- 0]: gethostbynameares_gethostbyname: 1000 calls in 124 ms
[% 0|+ 7|- 0]: getaddrinfogetaddrinfo: 10000 calls in 1576 ms (6345 requests/second)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment