bug#15368: HTTP client is slow [2.0.9]

2014-05-23 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > Here I get a throughput of ~60 KiB/s, vs. ~400 KiB/s for wget and curl. There’s one little detail I hadn’t even bothered checking: ;; Enlarge the receive buffer. (setsockopt s SOL_SOCKET SO_RCVBUF (* 12 1024)) Its effect was to *shr

bug#15368: HTTP client is slow [2.0.9]

2013-09-13 Thread Ludovic Courtès
Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> I just noticed that our HTTP client is very slow. Consider this: >> >> (use-modules (web client) >> (rnrs io ports) >> (rnrs bytevectors) >> (srfi srfi-11) >> (ice-9 format))

bug#15368: HTTP client is slow [2.0.9]

2013-09-13 Thread Mark H Weaver
Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes: > I just noticed that our HTTP client is very slow. Consider this: > > (use-modules (web client) > (rnrs io ports) > (rnrs bytevectors) > (srfi srfi-11) > (ice-9 format)) > > (define %uri > "

bug#15368: HTTP client is slow [2.0.9]

2013-09-13 Thread Ludovic Courtès
I just noticed that our HTTP client is very slow. Consider this: --8<---cut here---start->8--- (use-modules (web client) (rnrs io ports) (rnrs bytevectors) (srfi srfi-11) (ice-9 format)) (define %uri "http: