Skip to content

Instantly share code, notes, and snippets.

@bjacobel
Created September 9, 2016 20:18
Show Gist options
  • Select an option

  • Save bjacobel/5fb9ee06390aee6187f13505aa21e50d to your computer and use it in GitHub Desktop.

Select an option

Save bjacobel/5fb9ee06390aee6187f13505aa21e50d to your computer and use it in GitHub Desktop.
HTTP2 speedtest of bjacobel.com
$> # First force HTTP/1.1 with the --h1 flag
$> h2load --h1 -n 100 https://bjacobel.com
starting benchmark...
spawning thread #0: 1 total client(s). 100 total requests
TLS Protocol: TLSv1.2
Cipher: ECDHE-RSA-AES128-GCM-SHA256
Server Temp Key: ECDH P-256 256 bits
Application protocol: http/1.1
progress: 10% done
progress: 20% done
progress: 30% done
progress: 40% done
progress: 50% done
progress: 60% done
progress: 70% done
progress: 80% done
progress: 90% done
progress: 100% done
finished in 330.75ms, 302.34 req/s, 943.56KB/s
requests: 100 total, 100 started, 100 done, 100 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 100 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 312.08KB (319574) total, 33.79KB (34597) headers (space savings 0.00%), 275.68KB (282300) data
min max mean sd +/- sd
time for request: 105.79ms 296.93ms 243.00ms 35.73ms 60.00%
time for connect: 33.62ms 33.62ms 33.62ms 0us 100.00%
time to 1st byte: 139.41ms 139.41ms 139.41ms 0us 100.00%
req/s : 302.46 302.46 302.46 0.00 100.00%
$>
$>
$>
$>
$> # Now try HTTP/2
$> h2load -n 100 https://bjacobel.com
starting benchmark...
spawning thread #0: 1 total client(s). 100 total requests
TLS Protocol: TLSv1.2
Cipher: ECDHE-RSA-AES128-GCM-SHA256
Server Temp Key: ECDH P-256 256 bits
Application protocol: h2
progress: 10% done
progress: 20% done
progress: 30% done
progress: 40% done
progress: 50% done
progress: 60% done
progress: 70% done
progress: 80% done
progress: 90% done
progress: 100% done
finished in 235.41ms, 424.80 req/s, 1.26MB/s
requests: 100 total, 100 started, 100 done, 100 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 100 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 303.78KB (311067) total, 25.41KB (26018) headers (space savings 23.24%), 275.68KB (282300) data
min max mean sd +/- sd
time for request: 46.55ms 200.06ms 145.06ms 47.36ms 66.00%
time for connect: 34.82ms 34.82ms 34.82ms 0us 100.00%
time to 1st byte: 81.52ms 81.52ms 81.52ms 0us 100.00%
req/s : 425.08 425.08 425.08 0.00 100.00%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment