Skip to content

Instantly share code, notes, and snippets.

@absturztaube
Created September 28, 2017 07:12
Show Gist options
  • Save absturztaube/ee3f9e3d5656a1b7210c5f4a6e9ecc11 to your computer and use it in GitHub Desktop.
Save absturztaube/ee3f9e3d5656a1b7210c5f4a6e9ecc11 to your computer and use it in GitHub Desktop.
URL Benchmark Bash oneliner, just set the url to the target and run this oneliner
start="$(date +%s%N | cut -b1-13)"; wget "$url" -o test.jpg ; echo $(($(date +%s%N | cut -b1-13) - $start))ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment