[Hackage] #288: the package indexes are very slow
Hackage
cvs-ghc at haskell.org
Thu Mar 8 10:57:45 CET 2012
#288: the package indexes are very slow
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: cabal-install-0.14
Component: cabal-install tool | Version: HEAD
Severity: normal | Resolution: fixed
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: 6.8.2 | Platform:
---------------------------------+------------------------------------------
Changes (by kosmikus):
* status: new => closed
* resolution: => fixed
* milestone: => cabal-install-0.14
Comment:
This is done:
{{{
Sun Oct 23 23:32:53 CEST 2011 Duncan Coutts
<duncan at community.haskell.org>
* Add a source package index cache to speed up reading
e.g. about 3x faster for cabal info pkgname
}}}
Some timings using a list of all packages from Hackage (~4000 packages):
* with cabal-install-0.10.2: more than 8 minutes (didn't wait for it to
finish)
* with cabal-install-0.13.3: 2 minutes 44 seconds
* with cabal-install-0.13.3 and modular solver: 49 seconds
Of course, this package list results in an error.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/288#comment:9>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list