GNU bug report logs - #69385
30.0.50; Long lines with bidi text slow down Emacs

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Sun, 25 Feb 2024 16:26:01 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #47 received at 69385 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 69385 <at> debbugs.gnu.org
Subject: Re: bug#69385: 30.0.50; Long lines with bidi text slow down Emacs
Date: Mon, 26 Feb 2024 18:12:04 +0100
On Mon, 26 Feb 2024 18:36:42 +0200 Eli Zaretskii <eliz <at> gnu.org> wrote:

[...]
> Can you measure the time it takes to redraw the window after M->, with
> and without bidi-display-reordering?  I'd like to have numbers here,
> not just impressions.  For example, measure it with benchmark-run or
> something similar.

On master started with -Q in a buffer containing a single line
consisting of 800 repetitions of "السّلام عليكم Hello " (in the buffer
the string " Hello " was to the left of the Arabic string because I
yanked the latter first), with bidi-display-reordering at its default
value t and with point at point-min, running (benchmark-run nil
(end-of-buffer)) returned:

(5.249231941 1 0.014300497000000023)

After moving point back to point-min and setting bidi-display-reordering
to nil, running (benchmark-run nil (end-of-buffer)) again now returned:

(0.034058467 0 0.0)

Steve Berman 




This bug report was last modified 1 year and 120 days ago.

Previous Next


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