From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: execvy@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#74813: 31.0.50; scroll-down is 10x slower and laggy than scroll-up Date: Fri, 10 Jan 2025 15:30:34 +0800 Message-ID: <8af271ae-f0da-4b7f-ba51-b68d9b67e8dd@gmail.com> References: <87ikrpgwlk.fsf@Mufasa.mail-host-address-is-not-set> <86a5d11d0u.fsf@gnu.org> <864j2oul7t.fsf@gnu.org> <864j2eeqcv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38571"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: Eval Exec , Eli Zaretskii , 74813@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 10 08:31:27 2025 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 1tW9UM-0009pZ-W9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Jan 2025 08:31:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tW9UB-0006Fs-Pm; Fri, 10 Jan 2025 02:31:15 -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 1tW9Ty-0006Ez-Dg for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2025 02:31:06 -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 1tW9Tx-0002bc-W4 for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2025 02:31:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:References:From:MIME-Version:Date:To:Subject; bh=ugG8VNLIF5WoTN19WgGCmchkGszY+8kMm2jS4K0flyo=; b=FrSm9J0oNgJDZhCC7Houg7XBBAupispxSyVx+4PvEZLwi2cz53D+A+Hv04OFG0UWgZfF7XgMSBgDy9Zb8/e1hO2ObKn3bvN8ok/isN6KfJJJkcQ/0Oj308bnNrZosLC7k6n6Eb1gmNiaFdQ2H7KX3dxETFP9vAXGr9P2F/rsG6qeuduEeEib/SFOYPvTZJPa/5oncSJ6w8i3trRKzUcCs+DV/MXZdF+/ZnKbiltO+JGnjDxXyAEwa1a//PMvX89kVoJLZTkOUfn0yPdAp9UMSe+MqM5CXv80E16YrgTUEdMB7/S0JIH3qCKnAucsmHvcqSyxj0c9VAkz3hcP6i3hqQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tW9Tx-0001c8-QA for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2025 02:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: execvy@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Jan 2025 07:31:01 +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.17364942476176 (code B ref 74813); Fri, 10 Jan 2025 07:31:01 +0000 Original-Received: (at 74813) by debbugs.gnu.org; 10 Jan 2025 07:30:47 +0000 Original-Received: from localhost ([127.0.0.1]:56244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tW9Tj-0001bY-69 for submit@debbugs.gnu.org; Fri, 10 Jan 2025 02:30:47 -0500 Original-Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]:43246) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tW9Th-0001bK-8E for 74813@debbugs.gnu.org; Fri, 10 Jan 2025 02:30:45 -0500 Original-Received: by mail-pj1-x1042.google.com with SMTP id 98e67ed59e1d1-2ee50ffcf14so4366343a91.0 for <74813@debbugs.gnu.org>; Thu, 09 Jan 2025 23:30:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736494239; x=1737099039; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:references:subject:to:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=ugG8VNLIF5WoTN19WgGCmchkGszY+8kMm2jS4K0flyo=; b=Lve7PyJiYYxDLoId58+dXf/R3dneIzyOJO6oLk5onYaKvItyoakriRSeKUVHSqBnwA +D+P+N9e5wy5uuS2+GKiT1SeE4CowQ30m7KMVNXYDEx2EiyqsuOUcNXcfwfmcqrGwtrt r6UR4+3oEPhEEpyHXP3m0WngZw99ypjxn4YFF20b5Ibh68gt5esVBdhVERrmqBa1eQZR EmE40hXwpPT2qo39mBM8D6Y4ljWca/ENmBl+SmYPXkGsfntKjFWCpAGbhHGYGZ2TRdND hSv6yOexYYqjVoU5ihjDjhSirNsX9yAe6HHvYz7UcpnthJCkONe8fWIC6HnUK+HleGY2 fGww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736494239; x=1737099039; h=content-transfer-encoding:in-reply-to:references:subject:to:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ugG8VNLIF5WoTN19WgGCmchkGszY+8kMm2jS4K0flyo=; b=Fi836GmFfYSvhQKZFBvzOm4+BedBS1tERMB0VhzGEYWYZ06vZHoMWhVxj0s5qGf99L KWv2J8YaExuz1zmJngCW1Eu1hS5Li4V/KeDmmXgkuXGHcHNtC4ZcLm+g3stGqw6/aIhi wG7YjrQ231sJ/NcGBLLOdv0D7e7IPt5kf9r5eNs4tE0WEnbOC0uCm8dQp7MKAJTqB7wx JjhzgaELh7RFtk3YUC+1PEIGS1geGYjaHWBN4Ntucs2I85Td58VPMCz2jKeK0LULMc0d +a0YOc3kgokug6MvNORly9qYeHYYhJEEU7FsH3HGCygSf8r4XZF53SoVr/9CFlJMXeHx cctg== X-Forwarded-Encrypted: i=1; AJvYcCVx5D0MRt05DtAv+K0yG+Q+A0Ty+fcAqpDL7DARPyZuHI1ArwJ6ECWnOgdw5O4c8z0YLe6HIw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyJ41XfJ5iusptsIN7wMv/oZeFX+CKDqJ1uHgyV7zcXD9jeXVZB urOuOrqE0xDeMoJPD6Al/F/8xKCE24EckqEBruiyGzuVRrJOWemq X-Gm-Gg: ASbGncs3XsEJ8X75JL82Mwn+jhOzK4RidrBM12/7JV1EwMh8sYyz7BfhLvhfvXK6MLn YT1310JqRiPRNfPOHv5chST/a9uggxcwQmJPji99eTsQlw+9RL7PwhnEUwtvymcbeHd6fOvOjjY Ra+1O5ZNAXSMY4tK938FYnNjF6prCuQ12Aq5R6qaXPtxaNzgcH2LYUcNRv40nlJdQGApdG03F5C GOj725ALph6t01mFAOQrwqf/MS7Lnj0874MiP+udM1fD5MYO7Bh X-Google-Smtp-Source: AGHT+IERMSNtWwdkQFYtPG3R2yoF5lcrEClLoXDe/ImmYFopCxcozvuwiFW1rLJ15tSQUIkPI+ElDA== X-Received: by 2002:a17:90b:3e82:b0:2ee:8253:9a9f with SMTP id 98e67ed59e1d1-2f5545de647mr9276529a91.11.1736494239063; Thu, 09 Jan 2025 23:30:39 -0800 (PST) Original-Received: from [28.0.0.1] ([212.87.193.115]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f559451455sm2655179a91.31.2025.01.09.23.30.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jan 2025 23:30:38 -0800 (PST) In-Reply-To: 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:298868 Archived-At: I try to reproduce on `emacs -Q` for this file: https://raw.githubusercontent.com/bitcoin/bitcoin/refs/heads/master/src/secp256k1/src/precomputed_ecmult.c It's fundamental-mode, then I notice `C-v` and `M-v` 's scroll-up and scroll-down have performance difference: C-v is more smoother than scroll-up. On 1/5/25 11:05 AM, Eval Exec wrote: > I have a fever. I'll try again in three or four days. > > > On Sat, Jan 4, 2025, 20:05 Eli Zaretskii > wrote: > > > From: Eval Exec > > > Date: Sat, 28 Dec 2024 21:31:28 +0800 > > Cc: 74813@debbugs.gnu.org > > > > Friendly Pong. I'm busy these days. I will upload a reproducible > > minimal init.el tomorrow. > > Did you have time to come up with a reproducible recipe? > > > > > On Sat, Dec 28, 2024 at 6:59 PM 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? > > > >