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: Sun, 5 Jan 2025 11:05:58 +0800 Message-ID: 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: multipart/alternative; boundary="0000000000002417c4062aeccb6f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13750"; 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 Sun Jan 05 04:07:33 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 1tUGzE-0003RA-Ph for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jan 2025 04:07:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUGyn-0007ER-LG; Sat, 04 Jan 2025 22:07:05 -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 1tUGyl-0007EH-G5 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 22:07:03 -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 1tUGyl-00075t-4S for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 22:07: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=ey4gxYVyAMKB/MxejPvAfw4W0G7Xp5pxYswMTL7lMkU=; b=ALOBDRwXm2o5Of7HAkyQSWZ/5og2AbtWH7UfNgYsWubrdCkGqYLQZFf3JMtGzLYXf2kFuNsXoTtWYEccteTAvVZhq/gd1gbfy19XT5KUod0MmuZuxGYN0uga0C0BAtM8QhUt6AwvThDu9b91/DOwBOP7PfZThRLEo2YAeWWK7SDPuxvCp+yuHWUzJ+H+gPNcPUhMzG2+uRTXxdbKMvJ3I9nlxfHsOhQrZ594+QP2JbraxJudNc/ebggy6uGKZD/hLHqWnkeCHSrcgEEcmPIh8IxjRiXWquWE0z2BQj88noGtl5gVelvBchwOtBXKNp8LDV8S4c3GYTCXgFHwiiY24Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUGyk-0004Zx-Bs for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 22:07: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: Sun, 05 Jan 2025 03:07: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.173604637817539 (code B ref 74813); Sun, 05 Jan 2025 03:07:02 +0000 Original-Received: (at 74813) by debbugs.gnu.org; 5 Jan 2025 03:06:18 +0000 Original-Received: from localhost ([127.0.0.1]:58213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUGy2-0004Yo-5Z for submit@debbugs.gnu.org; Sat, 04 Jan 2025 22:06:18 -0500 Original-Received: from mail-oa1-x42.google.com ([2001:4860:4864:20::42]:42446) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tUGxz-0004YY-AQ for 74813@debbugs.gnu.org; Sat, 04 Jan 2025 22:06:16 -0500 Original-Received: by mail-oa1-x42.google.com with SMTP id 586e51a60fabf-29fae583cc8so6934001fac.1 for <74813@debbugs.gnu.org>; Sat, 04 Jan 2025 19:06:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736046369; x=1736651169; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ey4gxYVyAMKB/MxejPvAfw4W0G7Xp5pxYswMTL7lMkU=; b=OLKpp5vP7C8ZmO+KcgupCcsvSK4PUmm2IaHuAqlognuC2eJBUXh3Sj2UALAAI7/rRK EYbaXBx9emEa7LrcgG30xdaRjp2W545D5iF3isy9hHSOLhaus3W6FN/WVN44fHhtQNOH r7yS4mQ0r3T2QNwFh122CZyTJsDU1i/pOABqLtRhKOcanHMhLKkwLVCAXqMFgqSWtaff nEkOPsw/kHSBKMIad7BC92kpXhUGtzknIYr7XyRV9CNCarLyMphiv8jC1d6wwJBqNbLk sEQguNnl//zqs9YOMm/hVfl+x6jZkCHLKqeCWlnUtnVNrjwHmCcS/4lEXUVV95NFVS8L W8CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736046369; x=1736651169; h=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=ey4gxYVyAMKB/MxejPvAfw4W0G7Xp5pxYswMTL7lMkU=; b=QrLl65+7Op/88GKT69IMWmwd/ltk1DBI/ioYoy504qzIn+IzSBPyvSrYFu/nnWepLB +TSs36fNt9DrfXas8n3e+hgS1QzJ/AmwoCv4lf5C6n5+fqjndnhNZe4fHL+li8AxLKD6 TVj3P1YAgtE3lerkxDqGsMI/y/5lIcat0Iw8Ti0p0wp9Z4KqtSllEvb9/7HkR0snFasF WiXP9JnsLudbArcd4uA99c18johFrTBccpyylnIRO1vXMS0Rwt19XZQ8BAycFkesNuNB yx25O09K4jCyGvplLZAeCzDBo+oaql6O/Ek0V4cAE8WJGpeopF8KC8kYLMqjL+0gRO96 TUAQ== X-Gm-Message-State: AOJu0Yw670VWHZKXUmBTh4ueeHRtchJSk22Yfzlrk4o08KkYjIJtR2Zn N3s2vWboIoldnGmD+qjgkBeA0pmRf5knEfII4PC4g2R9/O+eUN5vFrs6Q5u7qez58ZnOk6kLcdv Ons8iCISdl/JaWEOVLtdn7zqld+mvfniWIffsbQ== X-Gm-Gg: ASbGncuI6myjQPRUtyKvRhI8WYMiOkEW+V+MVw6CHUPySJooak+rcupfweJ11K8edkw bxjV7s/aeupmceXuSia/OBr3BbXCS1VGiPTH6nA== X-Google-Smtp-Source: AGHT+IHE4o3sg8vzzKhkPwQElPPRytHXx6cJRaSTlRX/2/U8VSNnwPMB0DQ25CBKeQo5TAzPoBn9byhtfqLsez2ATqk= X-Received: by 2002:a05:6871:a4c4:b0:29d:caa2:f0ef with SMTP id 586e51a60fabf-2a7fcab92aemr28688244fac.6.1736046369049; Sat, 04 Jan 2025 19:06:09 -0800 (PST) In-Reply-To: <864j2eeqcv.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:298491 Archived-At: --0000000000002417c4062aeccb6f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM Eli Zaretskii wr= ote: > > > > > > > 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 happen= s > > > > 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? > > > --0000000000002417c4062aeccb6f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I have a fever. I'll try again in three or four days.

On Sat, Jan 4, 2025, 20:05 Eli Zaretskii <eliz@gnu.org> wrote:
> From: Eval Exec <execvy@gmail.com>
> 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=E2=80=AFPM Eli Zaretskii <eliz@gnu.org&g= t; wrote:
> >
> > > Cc: 74813@debbugs.gnu.org
> > > Date: Thu, 12 Dec 2024 11:11:45 +0200
> > > From: Eli Zaretskii <eliz@gnu.org>
> > >
> > > > From: Eval Exec <execvy@gmail.com>
> > > > 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:
> > > >
> > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A02667=C2=A0 87% - comma= nd-execute
> > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A02666=C2=A0 87%=C2=A0 -= funcall-interactively
> > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A02666=C2=A0 87%=C2=A0 = =C2=A0- evil-scroll-page-up
> > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A02666=C2=A0 87%=C2=A0 = =C2=A0 - scroll-down
> > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A02665=C2=A0 87%=C2=A0 = =C2=A0 =C2=A0- apply
> > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A02664=C2=A0 87%=C2=A0 = =C2=A0 =C2=A0 - ad-Advice-scroll-down
> > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^^^^^^^^^^^^^^^^^^^^^
> > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A02663=C2=A0 87%=C2=A0 = =C2=A0 =C2=A0 =C2=A0- #<primitive-function scroll-down>
> > >
> > > 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.=C2=A0 If fontifica= tion is
> > > expensive, it is expected that you will see some lags.=C2=A0= 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 th= is file.
> >
> > Ping!=C2=A0 Can you please answer my questions?
>
--0000000000002417c4062aeccb6f--