From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74813: 31.0.50; scroll-down is 10x slower and laggy than scroll-up Date: Sat, 28 Dec 2024 12:59:34 +0200 Message-ID: <864j2oul7t.fsf@gnu.org> References: <87ikrpgwlk.fsf@Mufasa.mail-host-address-is-not-set> <86a5d11d0u.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13190"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74813@debbugs.gnu.org To: execvy@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 28 12:00:17 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tRUYK-0003Iw-VD for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Dec 2024 12:00:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRUY9-0003Y2-3N; Sat, 28 Dec 2024 06:00:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRUY6-0003Xe-SU for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 06:00:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRUY6-0003TG-Dz for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 06:00:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=vtAx6S0vzc3xVtJpCkgs4k2iX/s6H4w1YUlMPBIyEeo=; b=A1gDvOx+sB6FFOMsh41vlb3whdTmcERYwwz6/NM/GtiR3UG3ZXd5VYesjdaLEj7SrAgPxUMOgNiwFxKxZdwFAA9CzXH1yxdM1U2Q+HAAmgknoe+LP5HmceR3dJV76p6PN9XQ2WOWsruJAmN2QwPoq4QlurQb/rSU4kIkm7IiIyxfV5F0Dg/8PRuckf8QHAtev1rLvncTdDWMPWZsq0KIu0AGfVYp41AlPNAnYs7qS2qktAnRBREP6oHPuzvGzQUn7sPfCCS2ck7jQOjM5FqRwmbs6f0e4Rqx9o16YzDfLtYOtzi2tzRCAR0aHGvObV7zh3OvAq+xvaFpB2KFeSBAnQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRUY6-0005xK-8d for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 06:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2024 11:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 74813-submit@debbugs.gnu.org id=B74813.173538358322822 (code B ref 74813); Sat, 28 Dec 2024 11:00:02 +0000 Original-Received: (at 74813) by debbugs.gnu.org; 28 Dec 2024 10:59:43 +0000 Original-Received: from localhost ([127.0.0.1]:48909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRUXn-0005w2-BL for submit@debbugs.gnu.org; Sat, 28 Dec 2024 05:59:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRUXl-0005vo-Sx for 74813@debbugs.gnu.org; Sat, 28 Dec 2024 05:59:42 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRUXg-0003Qj-MX; Sat, 28 Dec 2024 05:59:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=vtAx6S0vzc3xVtJpCkgs4k2iX/s6H4w1YUlMPBIyEeo=; b=c6gzq2KKFyd6 UEAjsEQtMxtCHpGT9OVH9V+vPrV9aL0ukKydhJ6bWImwrpdTN+weClNjdZHu++o5dseTYUFEk+cVx 1WxoeyDWjPhT4ePeem4Hl8PF8lioAAwpOEttSi3zzPfHrhbrsr0KhxypfIRyW9yo4ZNgIrpxUaktM BCavmWwviH5/ynG6yDP2h0Bhyd3IDychgjUZmvxzKxxAjgRLl+4KK9pkQR/Y3IDdH7OBwGIajB886 X6vk5FQ7mVT9O0d5bvDsyzGqnEGG31GJR6OrWl018ve/HYRKRnSaNZQcwUWQ/OL8nkETO8u5htTSV 3tPji9ECHn2Cg4T8FgoGaw==; In-Reply-To: <86a5d11d0u.fsf@gnu.org> (message from Eli Zaretskii on Thu, 12 Dec 2024 11:11:45 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297867 Archived-At: > Cc: 74813@debbugs.gnu.org > Date: Thu, 12 Dec 2024 11:11:45 +0200 > From: Eli Zaretskii > > > From: Eval Exec > > Date: Thu, 12 Dec 2024 15:59:51 +0800 > > > > > > I opened a large rust file, about 5000 lines. > > scroll-up is quick and smooth, no laggy: > > [...] > > > > but scroll down is very laggy: > > > > 2667 87% - command-execute > > 2666 87% - funcall-interactively > > 2666 87% - evil-scroll-page-up > > 2666 87% - scroll-down > > 2665 87% - apply > > 2664 87% - ad-Advice-scroll-down > ^^^^^^^^^^^^^^^^^^^^^ > > 2663 87% - # > > First, you have an advice on scroll-down. > > Furthermore, scrolling down exposes portions of a file that were never > seen before, which needs to fontify them. If fontification is > expensive, it is expected that you will see some lags. What happens > if you scroll down, then go back to the beginning, and then scroll > down again -- is scrolling down the second time much faster? > > Also, you didn't say which major mode did you use for this file. Ping! Can you please answer my questions?