[Slackbuilds-users] always run `mandb -c` after installing/removing manpages?
Tonus
tonus1 at free.fr
Mon Aug 12 19:19:22 UTC 2024
Hi
Isn't such an impressive optimization a real bugfix ?
Since 15.1 isn't even close, do you folks think an upgrade could be suggested to M. Volkerding for 15.0 ?
Best regards
Tonus
Le 12 août 2024 17:55:42 GMT+02:00, Arkadiusz Drabczyk <arkadiusz at drabczyk.org> a écrit :
>On Mon, Aug 12, 2024 at 09:12:33AM -0300, Jim wrote:
>> On Mon, Aug 12, 2024 at 05:30 (-0400), B. Watson wrote:
>>
>> > On Mon, 12 Aug 2024, Arkadiusz Drabczyk wrote:
>>
>> >> I ran it as root of course, it wouldn't work on /usr/man/man1 if I
>> >> didn't since it is writable only by root.
>>
>> > I meant, are you sure when you timed it and got 10 seconds, that you
>> > were actually using the -c option? I get pretty close to 10 seconds
>> > when I time it *without* -c. If you really get "mandb -c" to run in
>> > only 10 seconds, that's 60x as fast as it does for me, and I want to
>> > know how (so I can make it run that fast for me, too).
>>
>> Just as another data point, on a laptop running S64-15.0 with a Ryzen 4700U
>> and a Samsung MZVLB1T0HBLR-000H1 "disk", running
>> time mandb -c
>> I got
>> mandb -c 253.46s user 397.39s system 134% cpu 8:02.15 total
>>
>> So yeah, 10 seconds would be pretty impressive.
>
>It must be due to
>https://gitlab.com/man-db/man-db/-/blob/1e5462f3fd9bfd8cf496e32e23842018b67f9b91/NEWS.md#L233. It
>takes 10 seconds on -current with mandb 2.12.1 but it indeed took 6
>minutes on -stable in the VirtulBox with mandb 2.9.4. After I compiled
>it from source it took 20 seconds on -stable too.
>
More information about the SlackBuilds-users
mailing list