Ярлык, который вы можете добавить в свой .bashrc и т. д., основываясь на других ответах здесь:
function perf {
curl -o /dev/null -s -w "%{time_connect} + %{time_starttransfer} = %{time_total}\n" "$1"
}
Использование:
> perf stackoverflow.com
0.521 + 0.686 = 1.290