Time every phase of an HTTP request

Bash

Splits DNS, connect, TLS and first byte apart, which tells you which one is actually slow.

curl -w '\n dns: %{time_namelookup}s\n connect: %{time_connect}s\n tls: %{time_appconnect}s\n ttfb: %{time_starttransfer}s\n total: %{time_total}s\n' \
  -o /dev/null -s https://example.com

More in Networking

Random picks