Skip to content

Instantly share code, notes, and snippets.

@lstellway
Last active May 8, 2018 22:25
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 lstellway/6ab5307507cadda7f86c83825919f9b1 to your computer and use it in GitHub Desktop.
Save lstellway/6ab5307507cadda7f86c83825919f9b1 to your computer and use it in GitHub Desktop.
Tools for testing server performance
CURL
curl -o /dev/null -w "Connection Time: %{time_connect} TTFB: %{time_starttransfer} Total Time: %{time_total} \n" https://example.com/
Documentation & formatting variables:
https://curl.haxx.se/docs/manpage.html#-w
Apache Bench
ab -n 1000 -c 100 https://example.com/
Documentation:
https://httpd.apache.org/docs/2.4/programs/ab.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment