view gui_ze/time_to_first_byte.sh @ 159:05cf9467a1c3

[Postdog] Updated to use text area that can handle like html text area.
author June Park <parkjune1995@gmail.com>
date Wed, 14 Jan 2026 08:56:33 -0800
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"