Skip to content

Instantly share code, notes, and snippets.

@rinmu
Created April 19, 2012 01:19
Show Gist options
  • Select an option

  • Save rinmu/2417724 to your computer and use it in GitHub Desktop.

Select an option

Save rinmu/2417724 to your computer and use it in GitHub Desktop.
ダウンロード時間計測用スクリプト
domain="http://example.com"
paths=("/" "/foo.html" "/bar.html" "baz.html")
for _path in ${paths[@]}
do
echo "\n"$domain$_path
time wget -o /dev/null -O /dev/null $domain$_path
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment