Skip to content

Instantly share code, notes, and snippets.

@arouene
Created April 16, 2018 14:38
Show Gist options
  • Save arouene/d5be6c9da93db16c151c902d19f5ac43 to your computer and use it in GitHub Desktop.
Save arouene/d5be6c9da93db16c151c902d19f5ac43 to your computer and use it in GitHub Desktop.
Format file for timing benchmark with curl
time_namelookup : %{time_namelookup}\n
time_connect : %{time_connect}\n
time_appconnect : %{time_appconnect}\n
time_pretransfer : %{time_pretransfer}\n
time_redirect : %{time_redirect}\n
time_starttransfer : %{time_starttransfer}\n
------------------------------------------\n
time_total : %{time_total}\n
@arouene
Copy link
Author

arouene commented Apr 16, 2018

Invoke with curl -w "@curl-format.txt" -o /dev/null -s "https://www.google.com/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment