From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eval Exec 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 21:31:28 +0800 Message-ID: References: <87ikrpgwlk.fsf@Mufasa.mail-host-address-is-not-set> <86a5d11d0u.fsf@gnu.org> <864j2oul7t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34974"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74813@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 28 14:33:20 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 1tRWwS-0008w7-3E for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Dec 2024 14:33:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRWwJ-0005lh-S1; Sat, 28 Dec 2024 08:33:11 -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 1tRWwB-0005jc-83 for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 08:33: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 1tRWwA-0000dA-Ub for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 08:33:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=RR6N661M6+DJmxV72Z3Za/vpWgIFeyKvS3H7t/gHpBE=; b=aXLUo0tiBZkXEmtEGLDFLnhEtwQUaLi6hMGFTFjJ3G3YfgEM5yWRXqLSaBq8Zu0GI6vko0AEqmzQo6cwjfHOGDLqF//Vy64uDVbPdhtLk7v3IsOax8eEmmZpTHYJplfmEbv5cwTTjV4dEM6nmTaSr+xTHgnwtSbsnlOBbm4I4/oupC6gl6D/oDTiSHdHZPvskEUuJOzh2YxPoK6YcHKVcYH26vgxSviSCu0gvF4Rs6n/GmxJTj5dlxBj1S9e3rZTqeV+1XPso0xrJ1HdHBGHNE1PQ1n/jq4R/WrYNpk+HzCSmbiSCp6K1x8KSYf9phfMwOdA0frn2lS+PTj6I12blw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRWwA-0005Dm-Kl for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 08:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eval Exec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2024 13:33: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.173539276720045 (code B ref 74813); Sat, 28 Dec 2024 13:33:02 +0000 Original-Received: (at 74813) by debbugs.gnu.org; 28 Dec 2024 13:32:47 +0000 Original-Received: from localhost ([127.0.0.1]:49794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRWvv-0005DF-Cf for submit@debbugs.gnu.org; Sat, 28 Dec 2024 08:32:47 -0500 Original-Received: from mail-oo1-f67.google.com ([209.85.161.67]:43066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRWvs-0005D2-UP for 74813@debbugs.gnu.org; Sat, 28 Dec 2024 08:32:45 -0500 Original-Received: by mail-oo1-f67.google.com with SMTP id 006d021491bc7-5f6497fbccbso2510285eaf.0 for <74813@debbugs.gnu.org>; Sat, 28 Dec 2024 05:32:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735392699; x=1735997499; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RR6N661M6+DJmxV72Z3Za/vpWgIFeyKvS3H7t/gHpBE=; b=SRolgwIFgRoG2/ML78foTvoBgxpHD4t51zeyOXQhaIoARcsOa6nMkLeDHen9VSLFyg 4ViQndP7vzl113Hl492oRcE9PG+45NYmKSkpRZNCJrcCE0t7bod4HCktI5PWka8gBUTk UfnPnAi2/1WzeKxcfzKwnVBP5zjG7y9730LyuDMAI/FJoopv85xAx+d2zQsWLFIy37+M nAB0BBI8V20aTChn745gufHjNLWHw0tGaFXvPQW4eY17FVuxqPFGdFMtcAwBXKWt1+zJ CCYmsU+4cGKRVpRA6snbuJgTaRy9HXQWkPdkbb88hq5HYp9MlcUN5X4YmWlbMntqEzNc SBaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735392699; x=1735997499; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RR6N661M6+DJmxV72Z3Za/vpWgIFeyKvS3H7t/gHpBE=; b=LyeZuqcVHmrITglz3t/cya9+G5pkSefU1C1BA0LVyxi30Eu5Mghf1M3RSx0OqSyghD JhXqTHJGrbOyCApt/8+D1Ph3CIpO24iwyNyo5lhqPU3yrBGixoKQFZ6SB/5XZ5GCzk05 D3g07iDgCXxv7XS3jrXZ8mTUuLkGmo8C1HQvBXdDnCPbjKy4ddr6PZqpL5AIiFEofH98 xr8VX4UC4A8CBpCo/q+88O/LLLLTH5g0mfDw/W46kC785jfjP9fnFWTQlhqdksC2Fc9b R+GLqC8s/A0hrO2HpS/pKDFNM4pvnfynUvYSWlAiV+H+d/YBIwnKQwJP/dIpnEv1HPWi jIEw== X-Gm-Message-State: AOJu0Yz5ok3pCGEPQUWjasdmKWDJGmQtjTkkT5W7LFDbfyojCKkUeD6W kKYa4kk0jZ3sVBxIarKZ8tau3i5959pax8IYTfZ40hX+FnI6eC/7blgjdLDByPsu9PJb4z1G7eV j0PuJuZejD5rOTQRHzN95arPXBYwT2hW7PvSC5ZvT X-Gm-Gg: ASbGnctznOxHmCY7Gxs4yoH3DBdZyx62vR/d6cLY97Ihxgk3qD84d9qMM2yD1tyIvmH Gj1SXFMyXF2w6Lq2GTAn6Qt8jbgRp+pZwAQ== X-Google-Smtp-Source: AGHT+IHeqmd0x9b9h9/Li00bhgzv+dPNvhM2uZe7mMZQioaZV7IpYpTpE/j4KRYu26nH5R7EpA/yTJQERFIRQBF78i0= X-Received: by 2002:a05:6871:a40d:b0:29d:c9f6:efdc with SMTP id 586e51a60fabf-2a7fcd3fa19mr17118639fac.17.1735392699131; Sat, 28 Dec 2024 05:31:39 -0800 (PST) In-Reply-To: <864j2oul7t.fsf@gnu.org> 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:297904 Archived-At: Friendly Pong. I'm busy these days. I will upload a reproducible minimal init.el tomorrow. On Sat, Dec 28, 2024 at 6:59=E2=80=AFPM Eli Zaretskii wrote: > > > 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?