Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Comparing the download speed for an image on facebook vs twitter cdn on Three's feel@home
#!/usr/bin/env bash
# compare the speed of downloading a file from twitter and facebook cnd
echo 'facebook,twitter'
for run in {1..20}
# Unfortunately these files aren't exactly the exact same bits, but each service does its own thing on uploads, so wasn't
# able to get a checksum matching file.
curl -s -o /dev/null -w '%{time_total},'
curl -s -o /dev/null -w '%{time_total}\n'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment