GNU bug report logs - #8333
24.0.50; Performace regression from r100619 try_scrolling change

Previous Next

Package: emacs;

Reported by: Chong Yidong <cyd <at> stupidchicken.com>

Date: Wed, 23 Mar 2011 21:49:02 UTC

Severity: important

Merged with 6671

Found in version 24.0.50

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8333 in the body.
You can then email your comments to 8333 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8333; Package emacs. (Wed, 23 Mar 2011 21:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 23 Mar 2011 21:49:02 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Eli Zaretskii <eliz <at> gnu.org>
Subject: 24.0.50; Performace regression from r100619 try_scrolling change
Date: Wed, 23 Mar 2011 17:39:37 -0400
  2010-06-19  Eli Zaretskii  <eliz <at> gnu.org>

  * xdisp.c (try_scrolling): Compute the limit for searching point
  in forward scroll from scroll_max, instead of an arbitrary limit
  of 10 screen lines.  See
  http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00766.html
  and
  http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00773.html
  for details.

This change (on trunk) causes a big slowdown in navigating large
buffers.  To reproduce, make a .emacs with just the following line:

(setq scroll-conservatively 1000)

Then:

emacs /path/to/xdisp.c
M-g M-g 20000 RET

Emacs takes about a second to move point to the specified line.  If the
above change is reverted, moving is instantaneous.  The slowdown is much
more apparent if Emacs is compiled without optimizations.


In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2011-03-23 on furball
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
configured using `configure  'CC=gcc' 'CFLAGS=-g''




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8333; Package emacs. (Wed, 23 Mar 2011 23:52:01 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 8333 <at> debbugs.gnu.org
Subject: Re: bug#8333: 24.0.50; Performace regression from r100619
	try_scrolling change
Date: Thu, 24 Mar 2011 00:50:53 +0100
On Wed, Mar 23, 2011 at 22:39, Chong Yidong <cyd <at> stupidchicken.com> wrote:

> This change (on trunk) causes a big slowdown in navigating large
> buffers.  To reproduce, make a .emacs with just the following line:
>
> (setq scroll-conservatively 1000)
>
> Then:
>
> emacs /path/to/xdisp.c
> M-g M-g 20000 RET

Isn't this bug#6671?

    Juanma




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8333; Package emacs. (Thu, 24 Mar 2011 00:03:02 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 8333 <at> debbugs.gnu.org
Subject: Re: bug#8333: 24.0.50;
	Performace regression from r100619 try_scrolling change
Date: Wed, 23 Mar 2011 20:01:55 -0400
Juanma Barranquero <lekktu <at> gmail.com> writes:

>> (setq scroll-conservatively 1000)
>>
>> Then:
>>
>> emacs /path/to/xdisp.c
>> M-g M-g 20000 RET
>
> Isn't this bug#6671?

My mistake.  I forgot there was a bug already filed.




Forcibly Merged 6671 8333. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 24 Mar 2011 02:59:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8333; Package emacs. (Thu, 24 Mar 2011 04:05:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: 24.0.50; Performace regression from r100619 try_scrolling change
Date: Thu, 24 Mar 2011 06:04:24 +0200
> From: Chong Yidong <cyd <at> stupidchicken.com>
> Cc: Eli Zaretskii <eliz <at> gnu.org>
> Date: Wed, 23 Mar 2011 17:39:37 -0400
> 
>   2010-06-19  Eli Zaretskii  <eliz <at> gnu.org>
> 
>   * xdisp.c (try_scrolling): Compute the limit for searching point
>   in forward scroll from scroll_max, instead of an arbitrary limit
>   of 10 screen lines.  See
>   http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00766.html
>   and
>   http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00773.html
>   for details.
> 
> This change (on trunk) causes a big slowdown in navigating large
> buffers.

Yes, this is bug#6671.  It's on my todo.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Apr 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 115 days ago.

Previous Next


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