Skip to content

Instantly share code, notes, and snippets.

@donalod
Last active December 12, 2025 15:14
Show Gist options
  • Select an option

  • Save donalod/e302cd69ece6264ce349470f3c47eda1 to your computer and use it in GitHub Desktop.

Select an option

Save donalod/e302cd69ece6264ce349470f3c47eda1 to your computer and use it in GitHub Desktop.
quick test app.pansift.com local
#!/usr/bin/env bash
url="https://app.pansift.com"
for i in {1..30}; do
out=$(curl -A 'Donal Testing' -4 -s -o /dev/null -w '%{http_code} %{time_total}' "$url" --resolve app.pansift.com:443:127.0.0.1)
code=${out%% *}
time=${out##* }
printf 'Request %2d: status=%s time=%ss\n' "$i" "$code" "$time"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment