mirror of
https://github.com/wahyd4/things.git
synced 2026-08-09 05:06:35 +10:00
add custom script
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash -eu
|
||||
|
||||
curl_time() {
|
||||
curl -so /dev/null -w "\
|
||||
namelookup: %{time_namelookup}s\n\
|
||||
connect: %{time_connect}s\n\
|
||||
appconnect: %{time_appconnect}s\n\
|
||||
pretransfer: %{time_pretransfer}s\n\
|
||||
redirect: %{time_redirect}s\n\
|
||||
starttransfer: %{time_starttransfer}s\n\
|
||||
-------------------------\n\
|
||||
total: %{time_total}s\n" "$@"
|
||||
}
|
||||
Reference in New Issue
Block a user