Created
April 18, 2019 21:45
-
-
Save iMerica/78a801d885964dd753e127deb0681536 to your computer and use it in GitHub Desktop.
Quick and dirty Performance Metrics using only Curl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# I found this in my ZSH profile and I forgot where I got it from. If you wrote it, Thanks! | |
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\nstarttransfer: %{time_starttransfer}s\n-------------------------\n total: %{time_total}s\n" "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment