Reference: Timing Page Responses With Curl
Templates format to output via curl
command
To reference the documentation for the time based variables is as follows.
- time_appconnectΒ - The time, in seconds, it took from the start until the SSL/SSH/etc connect/handshake to the remote host was completed.
- time_connectΒ - The time, in seconds, it took from the start until the TCP connect to the remote host (or proxy) was completed.
- time_namelookupΒ - The time, in seconds, it took from the start until the name resolving was completed.
- time_pretransferΒ - The time, in seconds, it took from the start until the file transfer was just about to begin. This includes all pre-transfer commands and negotiations that are specific to the particular protocol(s) involved.
- time_redirectΒ - The time, in seconds, it took for all redirection steps including name lookup, connect, pretransfer and transfer before the final transaction was started. time_redirect shows the complete execution time for multiple redirections.
- time_starttransferΒ - The time, in seconds, it took from the start until the first byte was just about to be transferred. This includes time_pretransfer and also the time the server needed to calculate the result.
- time_totalΒ -Β Β The total time, in seconds, that the full operation lasted.
How to use
- Find the PATH which including the
curl-formatter.txt
file withcd
orpwd
- Use this with command
Results