开发者

Curl/php: execution time?

Using CURL/PHP, how can I measure server's execution time? and what is the diference b/w STARTTRANSFER_TIME and 开发者_如何转开发PRETRANSFER_TIME ?


Regarding STARTTRANSFER_TIME and PRETRANSFER_TIME.

Starttransfer_time

Pass a pointer to a double to receive the time, in seconds, it took from the start until the first byte is just about to be transferred. This includes CURLINFO_PRETRANSFER_TIME and also the time the server needs to calculate the result

Pretransfer_time

Pass a pointer to a double to receive the time, in seconds, it took from the start until the file transfer is just about to begin. This includes all pre-transfer commands and negotiations that are specific to the particular protocol(s) involved

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜