unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8333: 24.0.50; Performace regression from r100619 try_scrolling change
@ 2011-03-23 21:39 Chong Yidong
  2011-03-23 23:50 ` Juanma Barranquero
  2011-03-24  4:04 ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Chong Yidong @ 2011-03-23 21:39 UTC (permalink / raw)
  To: 8333

  2010-06-19  Eli Zaretskii  <eliz@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''





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#8333: 24.0.50; Performace regression from r100619 try_scrolling change
  2011-03-23 21:39 bug#8333: 24.0.50; Performace regression from r100619 try_scrolling change Chong Yidong
@ 2011-03-23 23:50 ` Juanma Barranquero
  2011-03-24  0:01   ` Chong Yidong
  2011-03-24  4:04 ` Eli Zaretskii
  1 sibling, 1 reply; 4+ messages in thread
From: Juanma Barranquero @ 2011-03-23 23:50 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 8333

On Wed, Mar 23, 2011 at 22:39, Chong Yidong <cyd@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#8333: 24.0.50; Performace regression from r100619 try_scrolling change
  2011-03-23 23:50 ` Juanma Barranquero
@ 2011-03-24  0:01   ` Chong Yidong
  0 siblings, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2011-03-24  0:01 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 8333

Juanma Barranquero <lekktu@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#8333: 24.0.50; Performace regression from r100619 try_scrolling change
  2011-03-23 21:39 bug#8333: 24.0.50; Performace regression from r100619 try_scrolling change Chong Yidong
  2011-03-23 23:50 ` Juanma Barranquero
@ 2011-03-24  4:04 ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2011-03-24  4:04 UTC (permalink / raw)
  To: Chong Yidong; +Cc: bug-gnu-emacs

> From: Chong Yidong <cyd@stupidchicken.com>
> Cc: Eli Zaretskii <eliz@gnu.org>
> Date: Wed, 23 Mar 2011 17:39:37 -0400
> 
>   2010-06-19  Eli Zaretskii  <eliz@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-24  4:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-23 21:39 bug#8333: 24.0.50; Performace regression from r100619 try_scrolling change Chong Yidong
2011-03-23 23:50 ` Juanma Barranquero
2011-03-24  0:01   ` Chong Yidong
2011-03-24  4:04 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).