Skip to content

Instantly share code, notes, and snippets.

@wenzowski
Last active December 16, 2015 10:59
Show Gist options
  • Save wenzowski/5424278 to your computer and use it in GitHub Desktop.
Save wenzowski/5424278 to your computer and use it in GitHub Desktop.
$ speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from TekSavvy Solutions (69.196.189.53)...
Selecting best server based on ping...
Hosted by Nexicom Inc. (Toronto, ON) [2.30 km]: 79.711 ms
Testing download speed........................................
Download: 16.02 Mbit/s
Testing upload speed..................................................
Upload: 6.73 Mbit/s
$ ping rvm.io
PING rvm.io (208.85.148.213): 56 data bytes
64 bytes from 208.85.148.213: icmp_seq=0 ttl=53 time=82.661 ms
64 bytes from 208.85.148.213: icmp_seq=1 ttl=53 time=80.714 ms
64 bytes from 208.85.148.213: icmp_seq=2 ttl=53 time=81.372 ms
64 bytes from 208.85.148.213: icmp_seq=3 ttl=53 time=81.240 ms
64 bytes from 208.85.148.213: icmp_seq=4 ttl=53 time=81.643 ms
64 bytes from 208.85.148.213: icmp_seq=5 ttl=53 time=79.497 ms
64 bytes from 208.85.148.213: icmp_seq=6 ttl=53 time=81.395 ms
64 bytes from 208.85.148.213: icmp_seq=7 ttl=53 time=90.143 ms
64 bytes from 208.85.148.213: icmp_seq=8 ttl=53 time=81.652 ms
64 bytes from 208.85.148.213: icmp_seq=9 ttl=53 time=80.894 ms
^C
--- rvm.io ping statistics ---
10 packets transmitted, 10 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 79.497/82.121/90.143/2.781 ms
$ traceroute rvm.io
traceroute to rvm.io (208.85.148.213), 64 hops max, 52 byte packets
1 192.168.2.1 (192.168.2.1) 14.565 ms 1.853 ms 1.970 ms
2 lo-100.lns02.tor.packetflow.ca (206.248.154.122) 17.042 ms 16.096 ms 16.385 ms
3 2120.ae1.bdr04.tor.packetflow.ca (69.196.136.68) 16.175 ms 15.885 ms 14.922 ms
4 * 10gigabitethernet1-2.core2.tor1.he.net (209.51.191.173) 18.448 ms 15.472 ms
5 10gigabitethernet10-3.core1.chi1.he.net (184.105.223.169) 27.684 ms 28.061 ms 27.380 ms
6 10gigabitethernet3-2.core1.den1.he.net (184.105.213.86) 49.765 ms 56.193 ms
10gigabitethernet4-1.core1.den1.he.net (72.52.92.234) 51.367 ms
7 10gigabitethernet12-2.core1.sea1.he.net (184.105.213.41) 90.393 ms 83.620 ms 83.406 ms
8 * cr2-sea-b-p250.bb.spectrumnet.us (206.81.80.56) 81.050 ms 77.893 ms
9 blueboxgroup-10000m-tuk.demarc.spectrumnet.us (216.243.26.134) 79.156 ms 78.066 ms 77.763 ms
10 vsh23.blueboxgrid.com (208.85.148.178) 78.137 ms 78.267 ms 78.446 ms
11 rvm01.c44627.blueboxgrid.com (208.85.148.213) 80.242 ms 77.994 ms 77.937 ms
$ ab -i -n 100 -c 10 https://rvm.io/binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking rvm.io (be patient).....done
Server Software: nginx/1.2.7
Server Hostname: rvm.io
Server Port: 443
SSL/TLS Protocol: TLSv1/SSLv3,DHE-RSA-AES256-SHA,2432,256
Document Path: /binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2
Document Length: 0 bytes
Concurrency Level: 10
Time taken for tests: 6.658 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 23000 bytes
HTML transferred: 0 bytes
Requests per second: 15.02 [#/sec] (mean)
Time per request: 665.768 [ms] (mean)
Time per request: 66.577 [ms] (mean, across all concurrent requests)
Transfer rate: 3.37 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 500 603 51.7 604 904
Processing: 0 8 24.1 0 90
Waiting: 0 8 24.1 0 90
Total: 503 611 50.4 610 904
Percentage of the requests served within a certain time (ms)
50% 610
66% 624
75% 631
80% 640
90% 655
95% 689
98% 747
99% 904
100% 904 (longest request)
$ ab -n 10 -c 1 https://rvm.io/binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking rvm.io (be patient).....done
Server Software: nginx/1.2.7
Server Hostname: rvm.io
Server Port: 443
SSL/TLS Protocol: TLSv1/SSLv3,DHE-RSA-AES256-SHA,2432,256
Document Path: /binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2
Document Length: 19433507 bytes
Concurrency Level: 1
Time taken for tests: 187.702 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 194337370 bytes
HTML transferred: 194335070 bytes
Requests per second: 0.05 [#/sec] (mean)
Time per request: 18770.195 [ms] (mean)
Time per request: 18770.195 [ms] (mean, across all concurrent requests)
Transfer rate: 1011.08 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 353 362 14.2 357 397
Processing: 9615 18408 9076.3 18701 38581
Waiting: 242 244 1.0 244 245
Total: 9968 18770 9070.6 19059 38937
Percentage of the requests served within a certain time (ms)
50% 19059
66% 19511
75% 23819
80% 26170
90% 38937
95% 38937
98% 38937
99% 38937
100% 38937 (longest request)
$ curl --version
curl 7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz
$ time curl -I https://rvm.io/binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2
HTTP/1.1 200 OK
Server: nginx/1.2.7
Date: Sat, 20 Apr 2013 01:13:28 GMT
Content-Type: application/octet-stream
Content-Length: 19433507
Last-Modified: Sun, 24 Feb 2013 14:32:17 GMT
Connection: keep-alive
Accept-Ranges: bytes
curl -I https://rvm.io/binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2 0.02s user 0.01s system 0% cpu 5.520 total
$ time curl https://rvm.io/binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2 > /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 18.5M 100 18.5M 0 0 1016k 0 0:00:18 0:00:18 --:--:-- 2085k
curl https://rvm.io/binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2 > 0.51s user 0.38s system 4% cpu 18.700 total
$ speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Netelligent Hosting Services (67.212.70.186)...
Selecting best server based on ping...
Hosted by Fibrenoire Internet (Montreal, QC) [19.40 km]: 72.4 ms
Testing download speed........................................
Download: 89.54 Mbit/s
Testing upload speed..................................................
Upload: 35.34 Mbit/s
$ ping rvm.io
PING rvm.io (208.85.148.213) 56(84) bytes of data.
64 bytes from rvm01.c44627.blueboxgrid.com (208.85.148.213): icmp_seq=1 ttl=54 time=88.1 ms
64 bytes from rvm01.c44627.blueboxgrid.com (208.85.148.213): icmp_seq=2 ttl=54 time=88.4 ms
64 bytes from rvm01.c44627.blueboxgrid.com (208.85.148.213): icmp_seq=3 ttl=54 time=88.4 ms
64 bytes from rvm01.c44627.blueboxgrid.com (208.85.148.213): icmp_seq=4 ttl=54 time=88.4 ms
64 bytes from rvm01.c44627.blueboxgrid.com (208.85.148.213): icmp_seq=5 ttl=54 time=88.5 ms
64 bytes from rvm01.c44627.blueboxgrid.com (208.85.148.213): icmp_seq=6 ttl=54 time=88.5 ms
64 bytes from rvm01.c44627.blueboxgrid.com (208.85.148.213): icmp_seq=7 ttl=54 time=88.2 ms
64 bytes from rvm01.c44627.blueboxgrid.com (208.85.148.213): icmp_seq=8 ttl=54 time=88.1 ms
64 bytes from rvm01.c44627.blueboxgrid.com (208.85.148.213): icmp_seq=9 ttl=54 time=88.2 ms
^C
--- rvm.io ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8013ms
rtt min/avg/max/mdev = 88.119/88.351/88.587/0.160 ms
$ traceroute rvm.io
traceroute to rvm.io (208.85.148.213), 30 hops max, 60 byte packets
1 67.212.70.185 (67.212.70.185) 1.193 ms 1.117 ms 1.293 ms
2 209.44.125.161 (209.44.125.161) 0.447 ms 0.398 ms 0.349 ms
3 67.69.244.157 (67.69.244.157) 0.577 ms 0.525 ms 0.465 ms
4 bx6-newyork83_xe3-0-0.net.bell.ca (64.230.187.158) 10.019 ms 10.294 ms 10.152 ms
5 nyc-brdr-02.inet.qwest.net (205.171.1.33) 9.211 ms 11.673 ms 11.620 ms
6 tuk-edge-13.inet.qwest.net (67.14.4.210) 85.541 ms 86.460 ms 87.651 ms
7 cr1-tuk-t9-3.bb.spectrumnet.us (67.129.97.130) 158.625 ms 158.571 ms 158.525 ms
8 BlueBoxGroup-10000M-TUK.demarc.spectrumnet.us (216.243.26.134) 97.028 ms 87.893 ms 90.724 ms
9 vsh23.blueboxgrid.com (208.85.148.178) 89.596 ms 89.580 ms 86.401 ms
10 rvm01.c44627.blueboxgrid.com (208.85.148.213) 86.349 ms 85.886 ms 85.592 ms
$ ab -i -n 100 -c 10 https://rvm.io/binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking rvm.io (be patient).....done
Server Software: nginx/1.2.7
Server Hostname: rvm.io
Server Port: 443
SSL/TLS Protocol: TLSv1/SSLv3,DHE-RSA-AES256-SHA,2432,256
Document Path: /binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2
Document Length: 0 bytes
Concurrency Level: 10
Time taken for tests: 4.840 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 23000 bytes
HTML transferred: 0 bytes
Requests per second: 20.66 [#/sec] (mean)
Time per request: 483.957 [ms] (mean)
Time per request: 48.396 [ms] (mean, across all concurrent requests)
Transfer rate: 4.64 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 371 390 16.0 387 477
Processing: 86 89 1.7 89 94
Waiting: 85 88 1.7 89 94
Total: 457 479 16.4 476 567
Percentage of the requests served within a certain time (ms)
50% 476
66% 479
75% 482
80% 483
90% 490
95% 510
98% 552
99% 567
100% 567 (longest request)
$ ab -n 10 -c 1 https://rvm.io/binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking rvm.io (be patient).....done
Server Software: nginx/1.2.7
Server Hostname: rvm.io
Server Port: 443
SSL/TLS Protocol: TLSv1/SSLv3,DHE-RSA-AES256-SHA,2432,256
Document Path: /binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2
Document Length: 19433507 bytes
Concurrency Level: 1
Time taken for tests: 44.192 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 194337370 bytes
HTML transferred: 194335070 bytes
Requests per second: 0.23 [#/sec] (mean)
Time per request: 4419.222 [ms] (mean)
Time per request: 4419.222 [ms] (mean, across all concurrent requests)
Transfer rate: 4294.48 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 359 369 7.4 371 381
Processing: 3800 4050 446.4 3924 5300
Waiting: 259 267 4.9 269 274
Total: 4159 4419 444.3 4294 5661
Percentage of the requests served within a certain time (ms)
50% 4294
66% 4325
75% 4365
80% 4439
90% 5661
95% 5661
98% 5661
99% 5661
100% 5661 (longest request)
$ curl --version
curl 7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
$ time curl -I https://rvm.io/binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2
HTTP/1.1 200 OK
Server: nginx/1.2.7
Date: Sat, 20 Apr 2013 01:11:56 GMT
Content-Type: application/octet-stream
Content-Length: 19433507
Last-Modified: Sun, 24 Feb 2013 14:32:17 GMT
Connection: keep-alive
Accept-Ranges: bytes
real 0m0.499s
user 0m0.016s
sys 0m0.028s
$ time curl https://rvm.io/binaries/ubuntu/12.04/i386/ruby-2.0.0-p0.tar.bz2 > /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 18.5M 100 18.5M 0 0 4075k 0 0:00:04 0:00:04 --:--:-- 4490k
real 0m4.679s
user 0m0.432s
sys 0m0.112s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment