From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1611: 23.0.60; smooth-scroll sluggish Date: Wed, 17 Dec 2008 15:15:16 -0500 Message-ID: <475204970812171215p3038578cn84a0b4dabac9e0a5@mail.gmail.com> Reply-To: David , 1611@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13676_29747938.1229544916288" X-Trace: ger.gmane.org 1229546688 8286 80.91.229.12 (17 Dec 2008 20:44:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 20:44:48 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 17 21:45:52 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LD3H5-00046k-NG for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 21:45:44 +0100 Original-Received: from localhost ([127.0.0.1]:52838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LD3Ft-0007z1-Kl for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 15:44:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LD3Fn-0007y5-TX for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 15:44:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LD3Fn-0007xd-07 for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 15:44:23 -0500 Original-Received: from [199.232.76.173] (port=35250 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LD3Fm-0007xZ-Qs for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 15:44:22 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44579) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LD3Fl-0007aw-V7 for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 15:44:22 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBHKiJWq029998; Wed, 17 Dec 2008 12:44:19 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBHKP42O025228; Wed, 17 Dec 2008 12:25:04 -0800 X-Loop: don@donarmstrong.com Resent-From: David Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Dec 2008 20:25:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1611 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122954514023824 (code B ref -1); Wed, 17 Dec 2008 20:25:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 17 Dec 2008 20:19:00 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBHKItlF023818 for ; Wed, 17 Dec 2008 12:18:56 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:35981) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LD2qP-00051a-3t for emacs-pretest-bug@gnu.org; Wed, 17 Dec 2008 15:18:09 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LD2r6-0000iA-UI for emacs-pretest-bug@gnu.org; Wed, 17 Dec 2008 15:18:54 -0500 Original-Received: from mail-bw0-f12.google.com ([209.85.218.12]:58387) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LD2r6-0000gy-8L for emacs-pretest-bug@gnu.org; Wed, 17 Dec 2008 15:18:52 -0500 Original-Received: by bwz5 with SMTP id 5so137242bwz.18 for ; Wed, 17 Dec 2008 12:18:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=wurAxmjrJZyuS5h5xcCc/hlmJ7FmcEpJ7VTdb5tAnUc=; b=XmCKsJy6sudH3GLtILV3Sy8rJXTcW+nu4yq59A+wXK/hRz2IJcQg++wG1P0nzLiRcg W6t5xQ/0UH2UZCEEnlDbiZygStBNNhDx7eX5s81wMkxzh1Nqt5/+6ZrmnagTLKqkhodL IOlt+NZu8crEcQHbl5xjDHygwXm3NvOZm7Ypc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=niTa/nwgNrExJdvCLSuDPpAYjDgTUXCdbsA0lEQ5mz2Ndhd5N6EiwM05r+J0FYuxns 0VTKxmzlsxsx4h+n4BQa9qcsp78tZRhqcyKK1mYs3OKmaogJq/pEzNpDARPxQbqU4IDs LwzYD5f4W3HBNxwOI73HU7xDINltCi3SneGCA= Original-Received: by 10.223.113.136 with SMTP id a8mr983463faq.76.1229544916294; Wed, 17 Dec 2008 12:15:16 -0800 (PST) Original-Received: by 10.223.107.1 with HTTP; Wed, 17 Dec 2008 12:15:16 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 17 Dec 2008 15:44:23 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23334 gmane.emacs.pretest.bugs:23518 Archived-At: ------=_Part_13676_29747938.1229544916288 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline For a while I've noticed that scrolling has been pretty slow, a couple of months back it improved quite a bit. But still, noticably slow. I decided to elp-instrument some likely candidates: In a recent version of emacs, built a few weeks ago from cvs trunk: Function Name Call Count Elapsed Time Average Time ====================================== ========== ============ ============ next-line 944 42.020999999 0.0445137711 smooth-scroll-lines-from-window-bottom 943 18.337000000 0.0194453870 >From a version built a long while back, GNU Emacs 23.0.50.1 (i386-mingw-nt5.1.2600) of 2007-10-23 on myhost: Function Name Call Count Elapsed Time Average Time ====================================== ========== ============ ============ next-line 678 5.5799999999 0.0082300884 smooth-scroll-lines-from-window-bottom 660 0.7630000000 0.0011560606 count-screen-lines 662 0.6690000000 0.0010105740 Both of those elp-results came from pressing C-n on the same file from top to bottom. The file has 671 lines in it. It appears to me that the more recent versions of emacs have very slow "next-line" If I don't load 'smooth-scroll' scrolling speed is quite good. Thanks If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file f:/devtools/emacs-23.0.60.1/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-09-21 on myhost Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -I../../include -pipe' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: JDE/l Minor modes in effect: diff-auto-refine-mode: t semantic-decoration-mode: t jde-plugin-minor-mode: t jde-jdb-minor-mode: t shell-dirtrack-mode: t icicle-mode: t minibuffer-indicate-depth-mode: t nxhtml-global-minor-mode: t display-time-mode: t recentf-mode: t which-function-mode: t savehist-mode: t delete-selection-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t abbrev-mode: t Recent input: C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n M-x e l p - r e u l s s u l C-SPC C-SPC M-w C-x b n o t r C-y C-y C-x C-s C-SPC C-SPC M-w M-x e m a c s - b u Recent messages: Mark set notes changed on disk; really edit the buffer? (y, n, r or C-h) Please type y, n or r; or ? for help notes changed on disk; really edit the buffer? (y, n, r or C-h) ------=_Part_13676_29747938.1229544916288 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline
For a while I've noticed that scrolling has been pretty slow, a couple of months back it improved quite a bit.  But still, noticably slow.

I decided to elp-instrument some likely candidates:
In a recent version of emacs, built a few weeks ago from cvs trunk:
Function Name                           Call Count  Elapsed Time  Average Time
======================================  ==========  ============  ============
next-line                               944         42.020999999  0.0445137711
smooth-scroll-lines-from-window-bottom  943         18.337000000  0.0194453870


From a version built a long while back, GNU Emacs 23.0.50.1 (i386-mingw-nt5.1.2600) of 2007-10-23 on myhost:
Function Name                           Call Count  Elapsed Time  Average Time
======================================  ==========  ============  ============
next-line                               678         5.5799999999  0.0082300884
smooth-scroll-lines-from-window-bottom  660         0.7630000000  0.0011560606
count-screen-lines                      662         0.6690000000  0.0010105740

Both of those elp-results came from pressing C-n on the same file from top to bottom.  The file has 671 lines in it.  It appears to me that the more recent versions of emacs have very slow "next-line"

If I don't load 'smooth-scroll' scrolling speed is quite good. 

Thanks

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
f:/devtools/emacs-23.0.60.1/etc/DEBUG for instructions.


In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-09-21 on myhost
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -I../../include -pipe'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: JDE/l

Minor modes in effect:
  diff-auto-refine-mode: t
  semantic-decoration-mode: t
  jde-plugin-minor-mode: t
  jde-jdb-minor-mode: t
  shell-dirtrack-mode: t
  icicle-mode: t
  minibuffer-indicate-depth-mode: t
  nxhtml-global-minor-mode: t
  display-time-mode: t
  recentf-mode: t
  which-function-mode: t
  savehist-mode: t
  delete-selection-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  abbrev-mode: t

Recent input:
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n M-x e l p -
r e u l <tab> <backspace> s <backspace> <backspace>
s u l <tab> <return> <up> <up> <down-mouse-1> <mouse-movement>
<mouse-movement> <help-echo> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<drag-mouse-1> <up> <up> <up> <help-echo> <down-mouse-1>
<mouse-movement> <mouse-movement> <drag-mouse-1> <down-mouse-1>
<mouse-1> C-SPC C-SPC <up> <up> <up> <up> <up> M-w
C-x b n o t <tab> <return> <C-end> <return> <return>
r <return> <return> C-y <up> <up> <up> <C-end> <return>
C-y C-x C-s <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> C-SPC C-SPC <down> <down> <down> <down> <down>
<down> <down> <down> M-w <down-mouse-1> <mouse-1> <return>
<return> M-x e m a c s - b u <tab> <S-tab> <return
>

Recent messages:
Mark set
notes changed on disk; really edit the buffer? (y, n, r or C-h)
Please type y, n or r; or ? for help
notes changed on disk; really edit the buffer? (y, n, r or C-h)

------=_Part_13676_29747938.1229544916288--