| Dirk Vogt | a7d7f96 | 2016-12-01 10:50:48 +0100 | [diff] [blame^] | 1 | An overview of the six time values available from curl_easy_getinfo() |
| 2 | |
| 3 | curl_easy_perform() |
| 4 | | |
| 5 | |--NT |
| 6 | |--|--CT |
| 7 | |--|--|--PT |
| 8 | |--|--|--|--ST |
| 9 | |--|--|--TT |
| 10 | |--|--|--|--|--RT |
| 11 | |
| 12 | NT = CURLINFO_NAMELOOKUP_TIME. The time it took from the start until the name |
| 13 | resolving was completed. |
| 14 | CT = CURLINFO_CONNECT_TIME. The time it took from the start until the connect |
| 15 | to the remote host (or proxy) was completed. |
| 16 | PT = CURLINFO_PRETRANSFER_TIME. The time it took from the start until the file |
| 17 | transfer is just about to begin. This includes all pre-transfer commands |
| 18 | and negotiations that are specific to the particular protocol(s) |
| 19 | involved. |
| 20 | ST = CURLINFO_STARTTRANSFER_TIME. The time it took from the start until the |
| 21 | first byte is just about to be transferred. |
| 22 | TT = CURLINFO_TOTAL_TIME. Time of the previous transfer. This time does not |
| 23 | include the connect time (CT), so if you want the complete operation |
| 24 | time, you should add that. |
| 25 | RT = CURLINFO_REDIRECT_TIME. The time it took for all redirection steps |
| 26 | include name lookup, connect, pretransfer and transfer before final |
| 27 | transaction was started. So, this is zero if no redirection took place. |