curl-users
Re: Newbie bytes/sec question
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 27 Nov 2002 18:58:50 +0100 (MET)
Date: Wed, 27 Nov 2002 18:58:50 +0100 (MET)
On Wed, 27 Nov 2002 bragiba_at_simi.is wrote:
> I am using pycurl to benchmark by downloading a website. I save the
> webiste on my local machine just for reference and to make sure that it
> looks ok. My question is does the reported data speed SPEED_DOWNLOAD get
> effected by the write taking place in the WRITEFUNCTION callback command?
SPEED_DOWNLOAD is the amount of bytes downloaded / total time its taken.
> Or is the bytes/sec reported just the pure download socket speed?
Nope. Everything will be taken into account. If you have a slow callback,
that might delay the download, yes.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002enReceived on 2002-11-27