From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: Is Emacs buffer scroll/redisplay slow? Date: Sun, 19 Jan 2020 16:34:17 +0100 Message-ID: References: <20200119115146.GA9172@ACM> <834kwrzcrj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000067c1ab059c7fe9f6" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="113759"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 19 16:35:13 2020 Return-path: Envelope-to: ged-emacs-devel@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 1itCbY-000TVc-TV for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Jan 2020 16:35:12 +0100 Original-Received: from localhost ([::1]:51012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itCbX-0000A8-TJ for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Jan 2020 10:35:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45655) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itCb0-0008BW-R9 for emacs-devel@gnu.org; Sun, 19 Jan 2020 10:34:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itCaz-0003kT-Ln for emacs-devel@gnu.org; Sun, 19 Jan 2020 10:34:38 -0500 Original-Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]:36117) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itCax-0003jA-3n; Sun, 19 Jan 2020 10:34:35 -0500 Original-Received: by mail-qv1-xf35.google.com with SMTP id m14so12928479qvl.3; Sun, 19 Jan 2020 07:34:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mmuBW10koVy2Pvx14pYWKZ5Gjq3kta8ZsAFQGTyAPZ0=; b=rvF56QVSxSUexfpuRzlY1JXsIjSW/pYt0pxY9qHachB1M0tIjh1xXRgODOZYlECkJg 5LOoVoCYfMRn+7plBPTRR3QH6P7zuz+F42ux7hawxm/D/7NL01NL0cUr36urGNqB7evb c89HMOQy2YaK4jw7d9wgWDO3mKuf2ytbRVEJ1pir3lsMKquj6lKotsvGHEE5etKcqnvC GilUqvjCfnnG5OpOsJkPbaiY4fEpJyR7kzG9j7nyrwYf61hM0J3s7oguQTh8/k5aZ7Wc U1DjoyPZ44KVJK/1AvHEoeqRCImp5MMFpeVURJAoIYVtdFzZIPoIcMfZtnP7Bvnp6BJJ 8oqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mmuBW10koVy2Pvx14pYWKZ5Gjq3kta8ZsAFQGTyAPZ0=; b=m2N6mvhhJrX5dcI4Y6FGKacdL/QggMy5jzESp6BR4e8ElJOH8PrEO7tfTwdKjb9+NT eUaOL+JMs+vYdz+lQRY6uk2dIrsFQI5N++ApnySCCfonZsnE/HHd/sp2YernVSPj54Qw ghTggGCxvH0V/h+MB/ya/BZo3je9mHlfciASS705ZJ2s3OvDFO261d06dkSmtER9LhWO rIz7KB+K3Hx5pgp5Znf0rJZSl76B/z9FE3/Fg/KqM73NZVVvqJWCUALNNoT6XalI0tEz M/5+VRsWdG0grBdQzsYi5pE5prNLILg88Tk4ymuogijc3MG35EaXVDj8nHRs0ziDahvb IFcQ== X-Gm-Message-State: APjAAAV/nff3ozK1rmaMOu5YgxvXGJOFwU8/wtR1yqzwK+LYt8DyAQqQ B6vUlWBD/p5pbNeAEMKC99Mxno+epUgl3hQHA5pPjsoz4iM= X-Google-Smtp-Source: APXvYqwRt4SKo/+eDgBJGw/ChMnknzRVqZpHZDYKM+bqW3cBTXYShzgVEUejhqXnS3EUD29OTMT4VqCkaWL7D9SFDN0= X-Received: by 2002:ad4:4389:: with SMTP id s9mr16096650qvr.99.1579448074222; Sun, 19 Jan 2020 07:34:34 -0800 (PST) In-Reply-To: <834kwrzcrj.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::f35 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244373 Archived-At: --00000000000067c1ab059c7fe9f6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le dim. 19 janv. 2020 =C3=A0 16:28, Eli Zaretskii a =C3=A9cr= it : > > From: Fabrice Popineau > > Date: Sun, 19 Jan 2020 15:24:19 +0100 > > Cc: Emacs developers > > > > > .... scrolling through an elisp buffer: I started the timer by hand > and > > > scrolled down for 1000 lines .... > > > > How, exactly, did you do the scrolling? How did you stop the scrollin= g > > at 1000 lines? Do you get this slowness on any elisp buffer, or is it= a > > particular one? > > > > I used my phone timer. It was my init.el file but I get the same result > with dired.el > > You didn't answer the question about the exact way of scrolling you > used. C-n or down arrow > Also, did you measure the CPU time it took, out of those 35 sec? (I > assume the time you measured was elapsed time, yes?) > > > > .... and it took 45s on Windows/WSL and 35s on Windows/native. > > > > That is slow indeed. > > > > Definitely. > > Not necessarily. The elapsed time has little to do with the speed we > scroll. We could expect emacs to be a little bit more reactive here. Fabrice --00000000000067c1ab059c7fe9f6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
Le=C2=A0dim. 19 janv. 2020 =C3=A0=C2= =A016:28, Eli Zaretskii <eliz@gnu.org> a =C3=A9crit=C2=A0:
> From: Fabrice Popineau <fabrice.popineau@gmail.com>
> Date: Sun, 19 Jan 2020 15:24:19 +0100
> Cc: Emacs developers <emacs-devel@gnu.org>
>
>=C2=A0 > .... scrolling through an elisp buffer: I started the timer= by hand and
>=C2=A0 > scrolled down for 1000 lines ....
>
>=C2=A0 How, exactly, did you do the scrolling?=C2=A0 How did you stop t= he scrolling
>=C2=A0 at 1000 lines?=C2=A0 Do you get this slowness on any elisp buffe= r, or is it a
>=C2=A0 particular one?
>
> I used my phone timer. It was my init.el file but I get the same resul= t with dired.el

You didn't answer the question about the exact way of scrolling you
used.
=C2=A0
C-n or down arrow
=C2=A0<= /div>
Also, did you measure the CPU time it took, out of those 35 sec?=C2=A0 (I assume the time you measured was elapsed time, yes?)

>=C2=A0 > .... and it took 45s on Windows/WSL and 35s on Windows/nati= ve.
>
>=C2=A0 That is slow indeed.
>
> Definitely.

Not necessarily.=C2=A0 The elapsed time has little to do with the speed we<= br> scroll.

We could expect emacs to be a littl= e bit more reactive here.

Fabrice
--00000000000067c1ab059c7fe9f6--