facebook/rng.io — pull request #4 by zflairz (2012-06-28 08:20:12+00:00)
Title: I tested it with my PC on wifi network, the CSS font download time takes...

... more than 100ms to complete however the timeout here is 100ms which is not reasonable, esp. considering mobile and 2G network. Let's set to 1s timeout for now and revisit the test methodology later.

-> for i in `seq 1 5`; do curl -k -s -o /dev/null http://rng.io/tests/cssfont/LeagueGothic.eot -w "@curl-format.txt"; done

time_namelookup: 0.001
time_connect: 0.059
time_appconnect: 0.000
time_pretransfer: 0.059
time_redirect: 0.000
time_starttransfer: 0.112
----------
time_total: 0.277

time_namelookup: 0.001
time_connect: 0.056
time_appconnect: 0.000
time_pretransfer: 0.056
time_redirect: 0.000
time_starttransfer: 0.110
----------
time_total: 0.282

time_namelookup: 0.002
time_connect: 0.054
time_appconnect: 0.000
time_pretransfer: 0.054
time_redirect: 0.000
time_starttransfer: 0.113
----------
time_total: 0.281

time_namelookup: 0.001
time_connect: 0.057
time_appconnect: 0.000
time_pretransfer: 0.057
time_redirect: 0.000
time_starttransfer: 0.123
----------
time_total: 0.358

time_namelookup: 0.002
time_connect: 0.055
time_appconnect: 0.000
time_pretransfer: 0.055
time_redirect: 0.000
time_starttransfer: 0.109
----------
time_total: 0.285