[Hackage] #288: the package indexes are very slow

Antoine Latter aslatter at gmail.com
Mon Jul 19 22:41:19 EDT 2010


On Wed, Jul 14, 2010 at 10:37 PM, Antoine Latter <aslatter at gmail.com> wrote:

> http://community.haskell.org/~aslatter/code/cabal-install/index/
>
> which requires:
>
> http://community.haskell.org/~aslatter/code/tarindex/
>

> For "cabal install --dry-run happstack" I go from ~2.5s to ~1.9s.
>

Ditching Numeric.readOct for parsing tar headers brought this down to
~1.7s, which brings us down to where our biggest line-item is outside
of the TarIndex functionality.

We still spend ~33% of our time in indexing in some form.

If I get time I'll look into getting rid of Numeric.readOct in the
main-line (Data|Distribution.Client).Tar package.

Antoine



More information about the cabal-devel mailing list