增加 speed.sh

This commit is contained in:
Luk
2026-09-25 12:48:24 +08:00
parent 248217f3b7
commit c6e9a47b1c
+5
View File
@@ -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"