GNU bug report logs - #44464
28.0.50; slow shell output

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Thu, 5 Nov 2020 10:48:01 UTC

Severity: normal

Found in version 28.0.50

Full log


View this message in rfc822 format

From: Phil Sainty <psainty <at> orcon.net.nz>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>, Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 44464 <at> debbugs.gnu.org
Subject: bug#44464: 28.0.50; slow shell output
Date: Fri, 6 Nov 2020 02:54:17 +1300
On 5/11/20 11:55 pm, Basil L. Contovounesios wrote:
> Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:
>> When running
>> curl -L -H "Accept: text/html" http://dbpedia.org/resource/Earth
>> output stops at several times.
> 
> Isn't this just because of long lines in the output?
> This is a well-known performance pitfall in Emacs.

I can reproduce the issue (in 27.1), and it seems to me that it's
all about that one paragraph of right-to-left text.

If I disable `bidi-display-reordering', I see no slow-downs.

Eli, I note that setting `bidi-paragraph-direction' in the buffer
(with bidi-display-reordering enabled) does not seem to have any
obvious effect.  Setting it to `left-to-right', I still see
right-to-left movement through that portion of the text, and the
associated slowness.  Is that expected?

I'll add that the line in question is not *especially* long
(2374 characters); however it does seem to be a significant factor,
as enabling longlines-mode eliminates the slowness around that text.


-Phil




This bug report was last modified 4 years and 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.