cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl download performances

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sun, 11 Jan 2015 22:28:58 +0100

On Fri, Jan 09, 2015 at 03:31:49PM +0100, Mokhtar BEN MESSAOUD wrote:
> I am testing curl pezrformance vs wget
>
> I find that wget is far responsive than curl
> wget download a test file from localhost in 5s , while curl download the same
> file in 11 minutes
>
> i use time to display time elapsed
>
> time wget http://127.0.0.1/test

This command writes the file to local disk.

> time curl http://127.0.0.1/test

while this command writes it to stdout. Are you running this on a serial
terminal or something? If you give curl the -O option, you'll have a much
closer equivalent to the wget command.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-01-11