Skip to content

Instantly share code, notes, and snippets.

@jamescmartinez
Created June 28, 2023 18:36
Show Gist options
  • Save jamescmartinez/f5c4d08256f0495fed68beb93428d8fd to your computer and use it in GitHub Desktop.
Save jamescmartinez/f5c4d08256f0495fed68beb93428d8fd to your computer and use it in GitHub Desktop.
curl with durations
\n\n
time_namelookup: %{time_namelookup}s\n
time_connect: %{time_connect}s\n
time_appconnect: %{time_appconnect}s\n
time_pretransfer: %{time_pretransfer}s\n
time_redirect: %{time_redirect}s\n
time_starttransfer: %{time_starttransfer}s\n
--------------------------------------------------\n
time_total: %{time_total}s\n
curl -w "@curl-format.txt" -s https://example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment