Skip to content

Instantly share code, notes, and snippets.

@jsbonso
Created December 20, 2022 00:14
Show Gist options
  • Save jsbonso/53ba6a8a14459cae42e577ac7b634f55 to your computer and use it in GitHub Desktop.
Save jsbonso/53ba6a8a14459cae42e577ac7b634f55 to your computer and use it in GitHub Desktop.
Automated Script to Check TTFB for N Times
#!/bin/bash
for i in {1..250}
do
curl -o /dev/null \
-w "%{time_starttransfer}\n" \
https://google.com >> prod.txt
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment