cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: --write-out options

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 10 Dec 2002 16:41:02 +0100 (MET)

On Tue, 10 Dec 2002, Ralph Mitchell wrote:

> Am I right in thinking that I can calculate the page rendering time from:
>
> time_starttransfer - time_pretransfer

I don't think it necessarily is only the page rendering time. But it surely
is the time from after the connection is established until the first byte has
been transfered.

> If not, what would the above give me?

If we ignore the transfer time (for the first byte to get across to you), it
is probably also the delay in the web server from when it gets the first
pieces of request until it finds the HTML or runs the script or whatever it
does.

Also, most scripts that render a page will start sending out HTML to the
client before the full output is done, so the transfer starts before the full
page is "rendered".

Estimating page rendering times really must be next to impossible on the
client's side.

These are all my weird assumptions. Feel free to fill in your own! ;-)

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-12-10