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: Fri, 10 Jan 2025 10:20:55 +0200 Message-ID: <86frlr13mg.fsf@gnu.org> 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> <7795e06c-df0a-4cf3-ab04-7a20a4ddd2c4@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35976"; 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 Fri Jan 10 09:23:41 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 1tWAIu-0009BB-Hb for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Jan 2025 09:23:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWAHZ-0000V5-UE; Fri, 10 Jan 2025 03:22:17 -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 1tWAHO-0000Ov-RS for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2025 03:22:07 -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 1tWAHL-0008Ob-E1 for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2025 03:22:05 -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=X7nIGLxg2PNuB4BU7ZrdOXMeDYq4croVtUM4kXw1SS4=; b=OgLW1sfcaC3zbZ/VOeixMzj6U476O9PTMNv3ft8qZFOR2Rs3xZ5k4Qh9oKtba5Zxc9LRSDUU9WgGsMt89WnvNnmCILm8coXdytryKU7IzumkCcXvtUjDmfDCSKM23Wz6+HjcjXMb34V5EalVY9UKjCWQBlS0Or18dN9W5cfI61URK4JSyBA3rHNwQ/AsNSGO61scquw40kEUoVmdy6mVnaOkP5yTh9Q//TO0lGrbWlXOkCj590pKceFYmXFNLQqdMGjOTt3TzbWAFy8Gfi0XtoJa9MN1s9ozMWEDVqGFhNyu8uK2G9NinkoN4A8fEHwUgnqMOJ1hl0IqNZ0MPmtzOg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tWAHK-000440-92 for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2025 03:22: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: Fri, 10 Jan 2025 08:22: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.173649726815503 (code B ref 74813); Fri, 10 Jan 2025 08:22:02 +0000 Original-Received: (at 74813) by debbugs.gnu.org; 10 Jan 2025 08:21:08 +0000 Original-Received: from localhost ([127.0.0.1]:56335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWAGS-00041y-AR for submit@debbugs.gnu.org; Fri, 10 Jan 2025 03:21:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55188) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tWAGQ-000417-FE for 74813@debbugs.gnu.org; Fri, 10 Jan 2025 03:21:07 -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 1tWAGK-0008Gc-G4; Fri, 10 Jan 2025 03:21:00 -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=X7nIGLxg2PNuB4BU7ZrdOXMeDYq4croVtUM4kXw1SS4=; b=M2ibJODesg1n rCQuKinjFvVv90/bnlmOk8wVYLR7DbNLoDCa93kIqbnP2metmjR5m4G3mJ2BYYVUTKZgLxsDmui20 Sg+i+YPZ0Lf3GgtHldOoXBoimgQBnrU1V0Zk3xPKnbhyqfjlBdzekvjT4LELdNhIX/UTlIV14B2MI 1mRhCRomsgeR0IW943TFnIRs6rpKfX8V2/UMzyUQmQWbDNQCJwERFPn6/dBfXrPcQe9JTd50Z0w4T 2QVFfkn1AgTZHppVZX6EjU+1sl89eI2Do8JGDZD+g/anJ6WO2UalW9/UiE68Os6XpO5nZoMadYqrd kVjo9LloUByaCtyMSRH2Nw==; In-Reply-To: <7795e06c-df0a-4cf3-ab04-7a20a4ddd2c4@gmail.com> (execvy@gmail.com) 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:298876 Archived-At: > Date: Fri, 10 Jan 2025 16:04:47 +0800 > From: execvy@gmail.com > > My auto-repeat rate is 100 times/second Mine is 30/sec. Maybe this is the reason for what you see. Programmatically, M-v needs to do more than C-v does, so if your CPU is not powerful enough, maybe Emacs cannot keep up with 100 keys per second moving back. If this is the reason, then it's expected. > 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. The profiler result is expected to be different, because M-v invokes different functions than C-v does. What I measured is the total time of scrolling through the entire file, and I didn't see any difference, as reported: 35 sec both down and up. I measured the time with a stopper, not by eyes.