[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-haskell-commits] darcs: haskell-hoogle: Collect txt files from /usr/lib/ghc-doc/hoogle/ dir.


On Fri, Oct 5, 2012 at 12:19 AM, Joachim Breitner <nomeata@debian.org> wrote:
> Am Freitag, den 05.10.2012, 00:03 +0900 schrieb Kiwamu Okabe:
>> No, I had not think about update database.
>> The update-hoogle command should cleanup and create database from
>> scratch anytime,
>> because I think it's enough fast that convet txt to hoo database.
> ok, let’s see how long it takes once there are 400 packages with hoogle
> files. We can still change it to something smarter afterwards.

It's 18 second to convert 135 txt files.

casper$ time sudo files_hoogle/update-hoogle
Starting keyword
Converting keyword... done
Finished keyword
Data generation complete
Convert /home/kiwamu/.cabal/share/doc/semigroupoids-3.0/html/semigroupoids.txt
Convert /home/kiwamu/.cabal/share/doc/hakyll-
Convert /home/kiwamu/.cabal/share/doc/network-conduit-
Convert /home/kiwamu/.cabal/share/doc/http-conduit-
Combining 135 databases
sudo files_hoogle/update-hoogle  14.91s user 2.07s system 94% cpu 17.979 total

I think update process isn't needed.

Kiwamu Okabe

Reply to: