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: Thu, 12 Dec 2024 11:11:45 +0200 Message-ID: <86a5d11d0u.fsf@gnu.org> References: <87ikrpgwlk.fsf@Mufasa.mail-host-address-is-not-set> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12742"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74813@debbugs.gnu.org To: Eval Exec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 12 10:12:22 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 1tLfF8-00037U-2B for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Dec 2024 10:12:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLfEs-0002Zx-5b; Thu, 12 Dec 2024 04:12:06 -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 1tLfEq-0002ZR-5j for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 04:12:04 -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 1tLfEp-0008IZ-LA for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 04:12:03 -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=2e8sAQFFGgFndkIY2tQ0QkmWke9+q9ukA0gQjAI6bg4=; b=vMvQZwF/PbjOMumAXe27AwR7tO1eErenIsuPg83qPw6H83zPQIlWBtyyazQlmK7Xt9j5YzZwxkxyV10mXsxmWS+qz97R7ePPHX1jY2abbSPm/m8SmOSlAfERYF3KFSb+jplXJTNztNlEqlogT/uX81RDuLUzFzXwE9yh8GoGheczCTbKYUez3ogzlIt8PO5Ri+Mz/41MXhWmCSyL84C+nOSCRE54vNZmUwAosue2zYxmYJZUkZ9rDBvi0aKiwKSgBut+2THYj4pGXJCtAdHvpbMJYRBZB+nD6t2iGvELeg9CEaqNUCtM86j/P869MEGGMJ6N+kF9/bgv5X2ZwiRXyg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLfEo-0002Ys-85 for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 04:12: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: Thu, 12 Dec 2024 09:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74813 X-GNU-PR-Package: emacs Original-Received: via spool by 74813-submit@debbugs.gnu.org id=B74813.17339947199834 (code B ref 74813); Thu, 12 Dec 2024 09:12:02 +0000 Original-Received: (at 74813) by debbugs.gnu.org; 12 Dec 2024 09:11:59 +0000 Original-Received: from localhost ([127.0.0.1]:37629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLfEl-0002YT-2d for submit@debbugs.gnu.org; Thu, 12 Dec 2024 04:11:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLfEi-0002Xy-Q5 for 74813@debbugs.gnu.org; Thu, 12 Dec 2024 04:11:57 -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 1tLfEd-0008Hc-E3; Thu, 12 Dec 2024 04:11:51 -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=2e8sAQFFGgFndkIY2tQ0QkmWke9+q9ukA0gQjAI6bg4=; b=sgC494okWtut dJSiOJeKszwKZ+CrXFZtBHQfvkNv5Hu4pChT0viDd8dMLZVSOsFS2yzV9YFhDhDPLueff7nfup/xe oJjVPllx3EEk838eN+T5VJmqPOQ7iQ7guJWcd06q86eEvU5RYCHqpjWHIrrpBZ7wCfpPIxNeZh+77 BzJz1hLy4VHy7BlEQL0OmPCILV2wHp0gPL4pSOes9bz5svz9ABSQBmIc2ZzUHhXakbEeup+hRIKaj WmRNgCdHhNWOtjVn96PqUgKsv0bX8ZQNdglRwEjUQbfT5vlKA0i2SA4sWQZyx2F2n63fUuEVwGdzG KkIwuE0ExGt35em7blwg8A==; In-Reply-To: <87ikrpgwlk.fsf@Mufasa.mail-host-address-is-not-set> (message from Eval Exec on Thu, 12 Dec 2024 15:59:51 +0800) 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:296895 Archived-At: > 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.