> ## Content Index
> Fetch the complete content index at: https://debugly.dev/llms.txt
> Use this file to discover other available public pages before exploring further.

# The curl Flag That Tells You Which Part of the Request Was Slow
- URL: https://debugly.dev/curl-timing-template-diagnose-latency/
- Published: 2026-09-09T07:30:00.000Z
- Updated: 2026-10-23T09:12:48.000Z
- Description: A slow request is five possible slow things. One curl flag with a write-out template splits the total into DNS, connect, TLS, time to first byte and…
- Author: Rohit Bhadani
- Tags: Tooling, Networking, Performance

| Phase         | Compute                                | Owned by                |
| ------------- | -------------------------------------- | ----------------------- |
| DNS           | time\_namelookup                       | Resolver, caches        |
| TCP connect   | time\_connect - time\_namelookup       | Network distance        |
| TLS handshake | time\_appconnect - time\_connect       | Cert chain, protocol    |
| Server think  | time\_starttransfer - time\_appconnect | Your application        |
| Transfer      | time\_total - time\_starttransfer      | Payload size, bandwidth |

---

Related reading: [The lsof Output That Showed Who Was Holding the Port](https://debugly.dev/lsof-showed-who-held-the-port/) explores a connected angle.

Related reading: [Every Layer That Caches a DNS Answer Between You and the Record](https://debugly.dev/how-dns-caching-layers-stack/) explores a connected angle.

Published on [debugly.dev](https://debugly.dev/) by [Rohit Bhadani](https://debugly.dev/about/) | Founder of [Krova Cloud](https://krova.cloud/?ref=debugly.dev)