Created
November 3, 2012 22:33
-
-
Save NapoleonWils0n/4009142 to your computer and use it in GitHub Desktop.
bash: curl time to first byte
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 -o /dev/null -w "Connect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total} \n" http://inserturl.here |
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 79283 0 79283 0 0 78717 0 --:--:-- 0:00:01 --:--:-- 78731
Connect: 0.625600 TTFB: 0.741260 Total time: 1.007180
what is above code mean without ttfb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should throw a
-s
in there too to quiet curl's progress bar.