Skip to content

Instantly share code, notes, and snippets.

@DevelopKim
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DevelopKim/5c8f5e4f9cfb8b78f2ac to your computer and use it in GitHub Desktop.
Save DevelopKim/5c8f5e4f9cfb8b78f2ac to your computer and use it in GitHub Desktop.
$ curl -s -w "%{time_total}\n" -o /dev/null http://www.google.com/
0.095
$ for i in {1..3};do curl -s -w "%{time_total}\n" -o /dev/null http://www.google.com/; done
1.079
0.124
0.106
$ curl -w "@curl-format" -o /dev/null -s http://www.google.com/
time_namelookup: 0.416
time_connect: 0.435
time_appconnect: 0.000
time_pretransfer: 0.435
time_redirect: 0.000
time_starttransfer: 0.488
----------
time_total: 0.491
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment