From unknown Fri Aug 15 04:02:45 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#1089 <1089@debbugs.gnu.org> To: bug#1089 <1089@debbugs.gnu.org> Subject: Status: Bug report: Hight CPU loading on scrolling Reply-To: bug#1089 <1089@debbugs.gnu.org> Date: Fri, 15 Aug 2025 11:02:45 +0000 retitle 1089 Bug report: Hight CPU loading on scrolling reassign 1089 emacs submitter 1089 Kostafey_Yandex severity 1089 normal thanks From Kostafey@yandex.ru Sun Oct 5 07:54:54 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 5 Oct 2008 14:54:54 +0000 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 m95EsncI016158 for ; Sun, 5 Oct 2008 07:54:51 -0700 Received: from mx10.gnu.org ([199.232.76.166]:41625) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KmUyD-0005dR-Nt for emacs-pretest-bug@gnu.org; Sun, 05 Oct 2008 10:52:29 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KmV0R-0000QV-OV for emacs-pretest-bug@gnu.org; Sun, 05 Oct 2008 10:54:48 -0400 Received: from forwards6.yandex.ru ([77.88.61.38]:37693) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmV0Q-0000OV-My; Sun, 05 Oct 2008 10:54:47 -0400 Received: from smtp4.yandex.ru (smtp4.yandex.ru [213.180.223.136]) by forwards6.yandex.ru (Postfix) with ESMTP id A7112A8C43F; Sun, 5 Oct 2008 18:54:37 +0400 (MSD) Received: from ppp91-76-53-121.pppoe.mtu-net.ru ([91.76.53.121]:50696 "EHLO DB0TKD2J.mshome.net" smtp-auth: "Kostafey" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S737283AbYJEOyZ (ORCPT + 1 other); Sun, 5 Oct 2008 18:54:25 +0400 X-Yandex-Spam: 1 X-Yandex-Front: smtp4 X-Yandex-TimeMark: 1223218465 X-MsgDayCount: 6 X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: Kostafey Date: Sun, 5 Oct 2008 18:54:24 +0400 From: Kostafey_Yandex X-Mailer: The Bat! (v2.12.00) Educational Reply-To: Kostafey_Yandex X-Priority: 3 (Normal) Message-ID: <1686904401.20081005185424@Yandex.ru> To: emacs-pretest-bug@gnu.org, help-emacs-windows@gnu.org Subject: Bug report: Hight CPU loading on scrolling In-Reply-To: <1143693355.20081005184243@Yandex.ru> References: <301969697.1213958841.59994024.34909@mcgi63.rambler.ru> <1143693355.20081005184243@Yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) From: To: emacs-pretest-bug@gnu.org Subject: 23.0.60; Hight CPU loading on scrolling We've got a bug on emacs text scrolling. If we set scroll 'by line' like this (setq scroll-step 1) we can open rather long file (like emacs tutorial) and press down buton for a some peiod of time. After some smooth scroll period CPU loading increase, so 'glitches' or scroll interrupts take place. The CPU loading increase much more when we try to do the same with russian tutorial (simply scroll down line-by-line). The CPU loading increase more in newer version of emacs. We tested this bug on different version of emacs. They were: emacs-22.1-bin-i386 emacs-22.2-bin-i386 emacs-22.3-bin-i386 emacs-from-cvs-080927 emacs-from-cvs-081003 We try it on 2 PC (with WinXP both). It is'n matter how to start emacs, what version to use, or what configuration to write to .emacs file to reproduce this bug. ----------------------------------- ---- HOW TO REPRODUCE THIS BUG ---- ----------------------------------- 1. Start emacs with emacs -Q 2. Then write ;(setq scroll-step 1) and press C-x C-e 3. Open english (or russian) tutorial 4. Simply press key down for a some period of time 5. Then scrolling become smooth for a small period of time, then CPU loading increased and scrolling become interrupted. So, you'll got it. ---------------------------------- We prepared 2 bug reports for you from 2 PC (generated by emacs text following below). __BUG REPORT 1: Testing on PC with CPU Pentium IV core duo T2400 1.83GHz and RAM 1024Gb with ENGLISH tutorial I've got 15% CPU loading on scrolling with RUSSIAN tutorial I've got 25% CPU loading on scrolling with huge scrolling interrupts __BUG REPORT 2: Testing on PC with CPU Pentium III and RAM 633Gb with ENGLISH tutorial we've got from 30% to 60% (sometimes, 100%) CPU loading on scrolling with huge scrolling interrupts with RUSSIAN tutorial we've got 100% CPU loading on scrolling without possible to continue scrolling at all. ----------------------------------- ----------- BUG REPORT 1 ---------- ----------------------------------- In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-10-03 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' 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: ru value of $XMODIFIERS: nil locale-coding-system: cp1251 default-enable-multibyte-characters: t Major mode: Text Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set 1 preceding-sexp: End of file during parsing 1 Making completion list... Preparing tutorial ... ----------------------------------- ----------- BUG REPORT 2 ---------- ----------------------------------- In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-10-03 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' 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: RUS value of $XMODIFIERS: nil locale-coding-system: cp1251 default-enable-multibyte-characters: t Major mode: Text Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. 1 Making completion list... Preparing tutorial ... -- Yours faithfully, Konstantin mailto:Kostafey@Yandex.ru From cyd@stupidchicken.com Mon May 4 16:34:23 2009 Received: (at control) by emacsbugs.donarmstrong.com; 4 May 2009 23:34:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n44NYKVP016596 for ; Mon, 4 May 2009 16:34:22 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 1690357E25E; Mon, 4 May 2009 19:34:28 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 3198 Date: Mon, 04 May 2009 19:34:28 -0400 Message-ID: <87zldsl9x7.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii close 3198 close 1089 thanks From cyd@stupidchicken.com Wed May 6 06:18:16 2009 Received: (at control) by emacsbugs.donarmstrong.com; 6 May 2009 13:18:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=AWL,VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n46DIBB6017854 for ; Wed, 6 May 2009 06:18:12 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id C984157E253; Wed, 6 May 2009 09:18:19 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: reopen 1089 Date: Wed, 06 May 2009 09:18:19 -0400 Message-ID: <87fxfie5es.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii reopen 1089 thanks From cyd@stupidchicken.com Wed May 6 06:21:20 2009 Received: (at 1089) by emacsbugs.donarmstrong.com; 6 May 2009 13:21:20 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n46DLHvc019216 for <1089@emacsbugs.donarmstrong.com>; Wed, 6 May 2009 06:21:18 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id ADEC357E253; Wed, 6 May 2009 09:21:25 -0400 (EDT) From: Chong Yidong To: Konstantin Cc: 1089@debbugs.gnu.org Subject: Re: About #1089: Bug report: Hight CPU loading on scrolling References: <20090505101721.5a56bff3.Kostafey@yandex.ru> Date: Wed, 06 May 2009 09:21:25 -0400 In-Reply-To: <20090505101721.5a56bff3.Kostafey@yandex.ru> (Konstantin's message of "Tue, 5 May 2009 10:17:21 +0400") Message-ID: <87eiv2e59m.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Konstantin writes: > emacs-from-cvs-090503 is not free of this bug. > If we set scroll 'by line' like this > (setq scroll-step 1) > > we can open rather long file (like emacs tutorial) > and press down buton for a some peiod of time. > After some smooth scroll period CPU loading increase, > so 'glitches' or scroll interrupts take place. The glitches are likely due to font locking taking place, and the subsequent garbage collection. If you disable font lock, you won't see it. Also, if you scroll through the file a second time, you also won't see it. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 25 21:20:59 2010 Received: (at control) by debbugs.gnu.org; 26 Jan 2010 02:20:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZb34-000653-W7 for submit@debbugs.gnu.org; Mon, 25 Jan 2010 21:20:59 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZb33-00064y-7n for control@debbugs.gnu.org; Mon, 25 Jan 2010 21:20:57 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NZb2z-0000SS-Pa; Mon, 25 Jan 2010 21:20:53 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19294.20869.773000.789691@fencepost.gnu.org> Date: Mon, 25 Jan 2010 21:20:53 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: blue X-Ran: Oj=Jkw@Sm(I2TeFMTWlSoQb>vVl7"X??>dxbdx9w\Q8kfaJxwqvZi%j4MqO}#;`5qJ]FXK X-Debbugs-No-Ack: yes X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) merge 3018 3038 reassign 1589 emacs merge 1589 3088 unarchive 3198 forcemerge 3198 1089 From unknown Fri Aug 15 04:02:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 23 Feb 2010 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator