On Sun, Dec 21, 2008 at 00:28:01 -0500, Gwern Branwen wrote:
> So I'm happy to announce that raw performance, at least, no longer
> seems to be a problem!

Thanks for keeping us in touch with these developments!

> homepage http://www.haskell.org/http/ provides an example 'get.hs'. I
> installed the new HTTP, compiled get.hs with it, and ran a bulk
> download with it:
> 
> gw...@craft:33333~>time wget -q
> http://www.haskell.org/ghc/dist/current/dist/ghc-6.7.20070401-i386-unknown-linux.tar.bz2
> && time ./get
> http://www.haskell.org/ghc/dist/current/dist/ghc-6.7.20070401-i386-unknown-linux.tar.bz2
> > ghc.bz2 && diff ghc-6.7.20070401-i386-unknown-linux.tar.bz2 ghc.bz2
> && du -h ghc-6.7.20070401-i386-unknown-linux.tar.bz2 ghc.bz2 && rm
> ghc-6.7.20070401-i386-unknown-linux.tar.bz2 ghc.bz2
> =wget -q   0.06s user 0.43s system 2% cpu 23.032 total
> ./get  > ghc.bz2  3.10s user 0.67s system 15% cpu 24.518 total
> 22M   ghc-6.7.20070401-i386-unknown-linux.tar.bz2
> 22M   ghc.bz2

Did you also try with the old HTTP package?

> I don't recommend trying to switch to HTTP right now, because as I
> said, I have no idea whether HTTP can handle Darcs's SSH and proxy
> needs. But this is worth noting for the future.

Good foresight.  I don't think SSH needs factor into this at all.

I remember Justin Bailey once submitted a patch to switch completely to
HTTP and I very enthusiastically supported it, only to be stilled by
wiser voices.  Then one year later, I moved to the UK where all academic
institutions are apparently behind a proxy server, and where HTTP
basically just broke for me.  Sure learned my lesson there!

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to