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

# Load Time in One Line
- URL: https://www.workroom-productions.com/load-time-in-one-line/
- Published: 2025-10-23T12:36:42.000Z
- Updated: 2025-10-23T12:53:04.000Z
- Description: Use curl -w, or time another command.
- Author: James Lyndsay
- Tags: tiny tool

A one-liner to get the load time for a page might be...

`curl -w "%{time_total}\n" -o /dev/null -s workroom-productions.com`

Unpack this into four parts – the first to produce information, two more to *stop* information, and the web address:

1. `-w "%{time_total}\n"`: This uses `-w` (or `--write-out` ) to pick out the total time taken to complete the request from the information about the transfer.
2. `-o /dev/null`: This option throws away what `curl` has retrieved by redirecting the output to the bottomless pit `/dev/null` .
3. `-s` : Silent mode, which stops the progress meter from being output to the terminal.
4. From here, of course. I've not specified page, nor scheme( i.e. `https` )

This one-liner needs you to know that `curl` captures this information. To my knowledge it's the only common tool which does. But `curl` isn't the only way to get a page – `wget` can, and `lynx` can, and you can use `time` to measure how long it takes. Indeed you could use `time` to measure how long the `curl` takes....

Here's a useful [stackoverflow answer](https://stackoverflow.com/questions/12714584/wget-time-measurement#19113627)