Skip to content

Instantly share code, notes, and snippets.

@blackymetal
Last active June 22, 2021 09:19
Show Gist options
  • Save blackymetal/66b5f2f195971fcda233 to your computer and use it in GitHub Desktop.
Save blackymetal/66b5f2f195971fcda233 to your computer and use it in GitHub Desktop.
How to measure request/response time 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
curl -w "@curl-format.txt" -o /dev/null -s http://www.aduanacol.com
@connecttosunil
Copy link

how to do this with php script?

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