You are not logged in.

#1 2026-07-26 18:03:40

topcat01
Member
Registered: 2019-09-17
Posts: 309

man/troff slowdown

After updating my system, I started noticing delays before a man page appears. The delay seems to be proportional (using `time`) to the length if the rendered page. ffmpeg-all is particularly bad. I think I have narrowed it down to groff/troff version 1.24. I compared it to Debian 13 and Ubuntu LTS using groff 1.23 and ffmpeg-all is instant there. In order to eliminate man/terminal/pager, etc., I tested using the following command:

time zcat /usr/share/man/man1/ffmpeg-all.1.gz|troff -mtty-char -mandoc -rLL=155n -rLT=155n -Tutf8>/dev/null

and this is about 2-2.5x slower on Arch compared to Debian on comparable hardware. I posted on the IRC where this was confirmed by multiple users. It's looking like a regression in groff.

Offline

#2 2026-07-26 18:20:14

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 719

Re: man/troff slowdown

Offline

#3 2026-07-26 18:21:26

topcat01
Member
Registered: 2019-09-17
Posts: 309

Re: man/troff slowdown

Great! Thank you for your post and the link!

Offline

Board footer

Powered by FluxBB