Re: [Pkg-haskell-commits] darcs: haskell-hoogle: Collect txt files from /usr/lib/ghc-doc/hoogle/ dir.
Hi.
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-3.4.2.1/html/hakyll.txt
--snip--
Convert /home/kiwamu/.cabal/share/doc/network-conduit-0.5.0.2/html/network-conduit.txt
Convert /home/kiwamu/.cabal/share/doc/http-conduit-1.6.1.1/html/http-conduit.txt
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.
Regards,
--
Kiwamu Okabe
Reply to: