curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: Is my "Time Spent" erroneous?

From: Ray Satiro via curl-users <curl-users_at_cool.haxx.se>
Date: Fri, 6 Oct 2017 02:12:37 -0400

On 9/16/2017 8:37 PM, Ian wrote:
> Hello,
> The output of the following script:
>
> #!/bin/bash
> for i in 1 2 3 4 5
> do
> date && curl -o test
> http://mirror.exetel.com.au/pub/gentoo/distfiles/shominst-0409.zip done
>
> is
>
> Sat Sep 16 11:45:20 AEST 2017
> % Total % Received % Xferd Average Speed Time Time Time
> Current Dload Upload Total Spent Left Speed
> 100 9743k 100 9743k 0 0 2321 0 1:11:38 1:11:38
> --:--:-- 2695k Sat Sep 16 11:45:24 AEST 2017
> % Total % Received % Xferd Average Speed Time Time Time
> Current Dload Upload Total Spent Left Speed
> 100 9743k 100 9743k 0 0 2321 0 1:11:38 1:11:38
> --:--:-- 2670k Sat Sep 16 11:45:28 AEST 2017
> % Total % Received % Xferd Average Speed Time Time Time
> Current Dload Upload Total Spent Left Speed
> 100 9743k 100 9743k 0 0 3247k 0 0:00:03 0:00:03
> --:--:-- 2646k Sat Sep 16 11:45:31 AEST 2017
> % Total % Received % Xferd Average Speed Time Time Time
> Current Dload Upload Total Spent Left Speed
> 100 9743k 100 9743k 0 0 2321 0 1:11:38 1:11:38
> --:--:-- 2662k Sat Sep 16 11:45:35 AEST 2017
> % Total % Received % Xferd Average Speed Time Time Time
> Current Dload Upload Total Spent Left Speed
> 100 9743k 100 9743k 0 0 2321 0 1:11:38 1:11:38
> --:--:-- 2662k
>
> Note how the "Time Spent" varies apparently randomly from a factual 3
> seconds to 1:11:38. Anyone know why?
>
> Thanks.
>
>
> Originally posted here:
> https://forums.gentoo.org/viewtopic.php?p=8118520#8118520
>
> # curl -V
> curl 7.55.1 (x86_64-pc-linux-gnu) libcurl/7.55.1 OpenSSL/1.0.2l
> zlib/1.2.11
> Release-Date: 2017-08-14
> Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s
> rtsp smtp smtps telnet tftp
> Features: Largefile NTLM SSL libz TLS-SRP UnixSockets HTTPS-proxy

Can someone else try to reproduce this?

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-10-06