Skip to content

Instantly share code, notes, and snippets.

@ivankravchenko
Created July 23, 2014 11:21
Show Gist options
  • Save ivankravchenko/6d5bed582296ed0cbb7e to your computer and use it in GitHub Desktop.
Save ivankravchenko/6d5bed582296ed0cbb7e to your computer and use it in GitHub Desktop.
#!/bin/bash
URLS_FILE=$1
while read URL; do
TIME=`curl --silent -w '%{time_total}' -o /dev/null $URL`
echo "${TIME}s $URL"
done <$URLS_FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment