Measures time-to-first-byte in seconds, for single or multiple URLs. Can calculate fastest, slowest & median TTFB values, and optionally log all response headers. Uses curl and the calculation `%{time_starttransfer} - %{time_appconnect}` which doesn't include any connection overhead, to better approximate devtool’s TTFB figure.
At https://github.com/jaygooby/ttfb.sh/blob/c8088c7f630c053a2d8c2af101e8aaff9c56c72d/ttfb#L65 an invalid
-s
option forwhich
is specified, and it expectedly complains:You can see that it doesn't exist on the gnu which man page.
Looks like the intention is for it to be silent, so it can simply be replaced with
which is tested and working.