Last active
August 4, 2023 02:29
-
-
Save bsergean/f32170785f7c64f22875 to your computer and use it in GitHub Desktop.
Profiling with curl
This file contains 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
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 | |
----------\n | |
time_total: %{time_total}\n |
This file contains 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
curl --limit-rate 1M -w "@curl-format.txt" -o /dev/null -s http://localhost:8008/out.json |
This file contains 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
# | |
curl --compressed --limit-rate 1M -w "@curl-format.txt" -o /dev/null -s http://localhost:8008/out.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment