ttfb.sh

ttfb.sh

jaygooby

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.

252 Stars
40 Forks
252 Watchers
Shell Language
mit License
Cost to Build
$3.2K
Market Value
$7.9K

Growth over time

7 data points  ·  2021-08-01 → 2025-03-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about ttfb.sh

Question copied to clipboard

What is the jaygooby/ttfb.sh GitHub project? Description: "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. ". Written in Shell. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone ttfb.sh

Clone via HTTPS

git clone https://github.com/jaygooby/ttfb.sh.git

Clone via SSH

[email protected]:jaygooby/ttfb.sh.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the ttfb.sh issue tracker:

Open GitHub Issues