ttfb.sh
ttfb.sh copied to clipboard
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...
A the moment we show values like `.039445` - these should probably be `0.039445`
The idea comes from a fork that I can’t find atm
See this fork https://github.com/jaygooby/ttfb.sh/commit/b6614ff8791caa5fca2a530398b87037ad9ebc8d
See this fork https://github.com/jaygooby/ttfb.sh/compare/master...mmierzwa:ttfb.sh:master
Amazing tool, thanks for creating! For some requests, ttfb seems to be producing negative numbers. Possibly this is for failed requests? I'm attaching a screenshot from one such case when...
- **Fix egrep warning** - **Use long option and fail on pipe error** - **Fix all shellcheck errors / warnings**
https://web.dev/articles/ttfb?hl=zh-cn TTFB: %{time_starttransfer} Not sure if it's correct