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.
See this fork https://github.com/jaygooby/ttfb.sh/commit/b6614ff8791caa5fca2a530398b87037ad9ebc8d