Mercurial
view gui_ze/time_to_first_byte.sh @ 32:08a465eec50b
[Dowa] Fixed a bug that I caused trying to stop memory leak lol.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Thu, 09 Oct 2025 07:03:36 -0700 |
| parents | 2d0d0b6c8906 |
| children |
line wrap: on
line source
#!/bin/bash set -euo pipefail URL="${1:-http://seobeo.babocoder.com/}" curl -o /dev/null -s -w 'namelookup: %{time_namelookup}s\nconnect: %{time_connect}s\ntls: %{time_appconnect}s\nrequest: %{time_pretransfer}s\nTTFB: %{time_starttransfer}s\ntotal: %{time_total}s\n' "$URL"