extra: zshrc: Add units to curl-time
snippet
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
33c4240587
commit
c59cf08b44
1 changed files with 7 additions and 7 deletions
14
extra/zshrc
14
extra/zshrc
|
@ -37,13 +37,13 @@ deny-any-ptrace() {
|
|||
|
||||
curl-time() {
|
||||
curl -w @- -o /dev/null -s "$@" <<'EOF'
|
||||
time_namelookup: %{time_namelookup}\n
|
||||
time_connect: %{time_connect}\n
|
||||
time_appconnect: %{time_appconnect}\n
|
||||
time_pretransfer: %{time_pretransfer}\n
|
||||
time_redirect: %{time_redirect}\n
|
||||
time_starttransfer: %{time_starttransfer}\n
|
||||
time_namelookup: %{time_namelookup} s\n
|
||||
time_connect: %{time_connect} s\n
|
||||
time_appconnect: %{time_appconnect} s\n
|
||||
time_pretransfer: %{time_pretransfer} s\n
|
||||
time_redirect: %{time_redirect} s\n
|
||||
time_starttransfer: %{time_starttransfer} s\n
|
||||
----------\n
|
||||
time_total: %{time_total}\n
|
||||
time_total: %{time_total} s\n
|
||||
EOF
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue