diff --git a/speed.sh b/speed.sh new file mode 100644 index 0000000..8df42d5 --- /dev/null +++ b/speed.sh @@ -0,0 +1,5 @@ +speed() { curl -sS -o /dev/null -w "http=%{http_code} dns=%{time_namelookup} + conn=%{time_connect} tls=%{time_appconnect} ttfb=%{time_starttransfer} + total=%{time_total}\n" "$1"; } + +speed "$1"