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 16:04:47 +0800 Message-ID: <7795e06c-df0a-4cf3-ab04-7a20a4ddd2c4@gmail.com> References: <87ikrpgwlk.fsf@Mufasa.mail-host-address-is-not-set> <86a5d11d0u.fsf@gnu.org> <864j2oul7t.fsf@gnu.org> <864j2eeqcv.fsf@gnu.org> <8af271ae-f0da-4b7f-ba51-b68d9b67e8dd@gmail.com> <86h66714ih.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7427"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 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 09:05:28 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 1tWA1H-0001nn-Qz for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Jan 2025 09:05:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWA0w-0005QE-HR; Fri, 10 Jan 2025 03:05: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 1tWA0u-0005Nk-02 for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2025 03:05: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 1tWA0t-0005mR-Mz for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2025 03:05:03 -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=ZOvEMj7zSjXC9g2dm1IU15YJoJNPysnVAintEylNYh0=; b=I2szy2SSNq9/I1HqZD8FqLAPT/HDr3aF49twViSMgbdCKw3z2dnnyfZjXLaUUdvMcSssWtuyYvoUVJLoMfRWHWUV9YLRSnu6hN85SPsIFaqA1TlWxCzijFCxFkBNCUL1ABEZoU0X5St08ht7Ss0Ul4FYxQCsRljIsqbFMN+9Hj1oP+to5i+8KwMDA7+EeDvk5ySUl1YwRYl39mGtD39iRRgvXL65lcKOi5Bm8ojkaoKkNJEqYze/f+x+KqWAsmqHJeTg2IUz1YM7to+9AbSdAhZ2AMxlYFcdGFya4zul87ik163/HH8PBtKP5kpjqaQ88k9GXsYrxSyrlbwE0NGpTg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tWA0s-0003BM-Ih for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2025 03:05:02 -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 08:05: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.173649630212229 (code B ref 74813); Fri, 10 Jan 2025 08:05:02 +0000 Original-Received: (at 74813) by debbugs.gnu.org; 10 Jan 2025 08:05:02 +0000 Original-Received: from localhost ([127.0.0.1]:56306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWA0r-0003B2-G6 for submit@debbugs.gnu.org; Fri, 10 Jan 2025 03:05:01 -0500 Original-Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]:43511) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tWA0p-0003Ao-67 for 74813@debbugs.gnu.org; Fri, 10 Jan 2025 03:04:59 -0500 Original-Received: by mail-pj1-x1043.google.com with SMTP id 98e67ed59e1d1-2f13acbe29bso4373769a91.1 for <74813@debbugs.gnu.org>; Fri, 10 Jan 2025 00:04:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736496292; x=1737101092; 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=ZOvEMj7zSjXC9g2dm1IU15YJoJNPysnVAintEylNYh0=; b=TXw9GYbpX2H0TMxsel1pb9DKgCdkM7iHJfTdgRVW8LhIY6l7dLPhtgP/gby4m+b6PB fFHUQC/wxP7ExtbnQT1WoxHPnUDr5+x20uo00driJD14k4R8kHGZCFhvfDuZd+4k5mea GeKtJMoKfV7LWdxwJOjWXnsdELoNsRI9CxTLQLL+TgNPRPp40wq74i9Iz5Zm6tab3D9O wukjk+vwWAGNndVAPqPd3szac+6Ly92RAvdHEBHKIdl72qvZpuZRtXAM5ijkPqWqtXGo 6cp7w6ToN0v/KqXzwkZJlB5yOgPjchD6yF6aMrfFuBPwvURlfdt443zPh9GEzGVacE33 A1Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736496292; x=1737101092; 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=ZOvEMj7zSjXC9g2dm1IU15YJoJNPysnVAintEylNYh0=; b=CM77H6eQtgUbtX3wE/G3fqKCadIgcM3nvzgxDKufAVvJwSkbtal2ws6Qp8T+2cMZX8 Q2neCLpFMxw9pDwHfSz7pW/IU6ldhc6fTSAdkLBcRahyWkR5SkXB6xVobyUg3U8xuSTA aOhXinlr16DhwlipW50AUrYRmMyNcJhMtcWEeYNs+INYS0aaviTY7bhMiRxYjCSpyOaT 7/ouRemsMcMv2wReu0sxEFeE5hpi/nIZDoAv4a49fQBC1fkZWiZH+VHPZWxS5aYELGEt TZLAdKIvs5hZyT7rMifZ5r7s9Jw8T0hlt0yulPHKT9CfRYF96TEJ4/wpJ5Cmg6nP2n2S xdlQ== X-Forwarded-Encrypted: i=1; AJvYcCX+uja7J6mbUQBWCj2xhbLLt1RP7uOGRfm1xnN741RG63qzQvA67mqmeVIC0ZeORUdKSUl9uA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz5cf+YCtrzRB0n6hhKZrizsKZR6SyPz+WfaIYmFjI/3+OL1TAQ lX04u5UaE7ev80DAxlCTW7Ku6yineUPSshO2bIqa6nzKa5Vh2OuXIV3TErotIulihWyp X-Gm-Gg: ASbGncuUeulbYkDokzHMxFK21721ThehbMBHsPagoDVlE+6HHsaHjQDD6//pO0aRwo0 uH7R0qbgocGr4AfEGiZLxflEQqRH6VanvcZhntgR90QUK7rqs3SyoQ+zVQFizxcJw+/gdkV/rs8 YLocY5lE9+fq3NwWIqRTk4+LHkCJl9ty+WtW2a5DI5wErmNoN+PMi9SbXKUFhmrOT1D25EX4NQe x4dy31a1qUa4Ox6HhdxNffSiZ6BihZnt0uX2o/9cykdEOfIGHJ5VX3FAqAggBfo+QB2TI4= X-Google-Smtp-Source: AGHT+IFc/r5BD72ZPccn4xBr9xGl/btfrZrr6rG3WL0+pQ+EGa9o2I0PDFss1Avpfg04MWpT0PtuCg== X-Received: by 2002:a17:90b:3b86:b0:2ef:9dbc:38d1 with SMTP id 98e67ed59e1d1-2f55440e498mr8772406a91.5.1736496291718; Fri, 10 Jan 2025 00:04:51 -0800 (PST) Original-Received: from [28.0.0.1] (45.78.56.68.16clouds.com. [45.78.56.68]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f55946d676sm2708552a91.49.2025.01.10.00.04.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jan 2025 00:04:51 -0800 (PST) In-Reply-To: <86h66714ih.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:298873 Archived-At: My auto-repeat rate is 100 times/second It's hard to notice performance difference by eyes and hands. You can do profiler-start (cpu) and profiler-report, then you will notice the profiler result is totally different. On 1/10/25 4:01 PM, Eli Zaretskii wrote: > > Date: Fri, 10 Jan 2025 15:30:34 +0800 > > From: execvy@gmail.com > > > > 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. > > I've now tried that file in fundamental-mode, and I don't see any > perceptible differences between C-v and M-v. For example, scrolling > from top to bottom by leaning on C-v takes 35 sec, and scrolling > bottom to top with M-v takes the same 35 sec. > > What is your auto-repeat rate for the keyboard? That is, if you press > and hold C-v, how many key presses per second does your system > produce? >