Skip to content

Instantly share code, notes, and snippets.

@pkutaj
Created October 16, 2025 12:17
Show Gist options
  • Save pkutaj/df600fd12c0af7981b43b1bca9d5e569 to your computer and use it in GitHub Desktop.
Save pkutaj/df600fd12c0af7981b43b1bca9d5e569 to your computer and use it in GitHub Desktop.
curl_time_drilldown.md
Metric Example Value Cumulative Time Delta Time What It Measures RTT Component
time_namelookup 0.028s 0.028s 0.028s DNS resolution - converting hostname to IP address ~1 RTT to DNS server
time_connect 0.044s 0.044s 0.016s TCP 3-way handshake completion (SYN, SYN-ACK, ACK) ~1 RTT to target server
time_appconnect 0.066s 0.066s 0.022s SSL/TLS handshake completion (encrypted connection ready) ~1-2 RTTs (TLS 1.3 = 1 RTT, TLS 1.2 = 2 RTTs)
time_pretransfer 0.066s 0.066s 0.000s All pre-transfer setup complete, ready to send HTTP request Local preparation, no network
time_redirect 0.000s N/A 0.000s Time spent on HTTP redirects (3xx responses) Varies, 0 = no redirects
time_starttransfer 5.591s 5.591s 5.525s Time to First Byte (TTFB) - includes sending request + server processing + first byte back ~1 RTT + server processing
time_total 5.638s 5.638s 0.047s Complete request duration including receiving full response body Data transfer time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment