From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KPMkEOrm6WXK6AAAqHPOHw:P1 (envelope-from ) for ; Thu, 07 Mar 2024 17:10:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KPMkEOrm6WXK6AAAqHPOHw (envelope-from ) for ; Thu, 07 Mar 2024 17:10:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=C4Q+Q+1+; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709827818; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ADYgLZb42Ns1qWQiASdYGEYVNA67OTM6/dIlWptHZN0=; b=ByTm4WhfoTJt5XZS0ycpW1Hu2ti+3OzQw+dqLPTQBMp42xxnSfy//UNYsNekMFfnw2jAh6 4hKHEr3cAghBpPKSRKO0Yy9O5h4075+cbA81Sh4CQrpOUcyVPtOKp2p8uqqZAPPPillxUP ND/XNRLL9oTVlaOaDO7128vwS44wem08qLwMPVSstZVXT7hQGCpT83kd7svfIOC+hKqore auPiCqhLe/dV6WSK9MM7/Rhk4kngjSaTo50n/g+Qw12fySqPKEotj0i5vQf4Paf7SEy05N af2/f9jp4f1BzlkMTBrJO/sd0CTwvoFLCNPIATbg1RDhKEsEb9H2bQuyeaPU9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=C4Q+Q+1+; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709827818; a=rsa-sha256; cv=none; b=gdJNmSt/nsQ1O7wWHAwfCMV34QdbIhzJBwNDw2/7wlhuP5IVUdRCNTipmAcL3gAOKBORMd Eh84LhRmmFswCtv/Hei9WGvQqRm2zfDykPCesSZx0/fQs8G9vMqvh7Ef8Pwz/yGG3I+SX/ PuC8C2LPCj3EWhsZ52oSC1kovd+sypT+Uy3iCQ/W6M6zWz6btOV7pRrBY+J7jXv2ev7d05 6QY0ud1yWZV6I0nGYY4orLl6h69S6G8k2XdJsOPuqIEWNeHzUMBFWR5Q+ne3a+wN5KI0F6 G2+0e0P6PpFKyIqyIz+5vFVE8+n+AYigxt5dTIERka5L2sa4L/Wiy2UwFzO24Q== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 10A8117A3A for ; Thu, 7 Mar 2024 17:10:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riGDx-0005Jc-IF; Thu, 07 Mar 2024 11:04:01 -0500 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 1riGDg-00056S-IR for emacs-orgmode@gnu.org; Thu, 07 Mar 2024 11:03:48 -0500 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1riGDe-00069Q-RM for emacs-orgmode@gnu.org; Thu, 07 Mar 2024 11:03:44 -0500 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-563d32ee33aso1253386a12.2 for ; Thu, 07 Mar 2024 08:03:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709827420; x=1710432220; darn=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=ADYgLZb42Ns1qWQiASdYGEYVNA67OTM6/dIlWptHZN0=; b=C4Q+Q+1+vEWvoqUhFWjU8nG7Fai4cj9wZQaPpO4mytZew8I6oi23E5mUKB5HbwYsS6 wHYA8Iq5Ti0SLmCRCWMmn8ad4q+ISWmfj+zbbZCW84RUFkcIZQtPE3hYJfkZTabPR/II rrYjbp/cvcr276rY/HgXT/2K29sxTPHpCxgnzdH88QTxsyeC7hlSMWCfY7ukc5G9Gta1 laqTSNbS96QLeicIb9lH/FkZ6/DXIJ/8zZe2PcAqY/2HRNCpeNRcyOskzGDijKKaPHt9 Oh5dNEnSiQDtiDkcst7xlHjzpNjLCQI+YP3x8+cFKb21GCQ246l3GquLG/vsO3wHQ0oC 484w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709827420; x=1710432220; 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=ADYgLZb42Ns1qWQiASdYGEYVNA67OTM6/dIlWptHZN0=; b=nhgwhPsUGGWQTPJr/vTo+oCXjbpYoU9vfzejjJr8C5PQk3CioeOxXtcwFA9+vSlEtJ OQePeadHL6PT+O4ZKZCUwGH7hciR+XMBi9EL8U/M1Ia1JDHigdMYOOaqdWUpQAcnHvvW N5IPmAnO40X0lpxipPz5bsl61/7lsmsoVDBPdMfPBOULqX/edT+OUo1Kh+VT57f8xBO+ CjkADVcpzMKoq1dTNWiVVVMc1OB+iAz3cOnYEEQkHSz+k1LC783xtPkgN5whMVPQGpMf cDlH1t33XIqr+Y2wqDyrrGs+vpyMwGtVX7UO+KYkiQTSD34dRweOB6okMaBO76/g/VsE fV7w== X-Forwarded-Encrypted: i=1; AJvYcCXE6MDcU0n5h9GjAlb9bamSnIubJUDfz9S4tbcdPsYjE/nrtAorVLNHt6qQ28dqHlD/LgW/YVUc53dc7qyGdIKRDHdpams= X-Gm-Message-State: AOJu0YwR+ORLbYx0QPinc12l5TxwqAjrRDM6hdQqFEKJYEEr3OrpFlTd GxuibabR2cYdGj118Rjbenw1f+lJalSJGq6YOI/sqoom8J/fdeVCIaCGcI+S9dVT0+LjwNQG5sG jkzBeGvkwOa2hM9KzkslUILUOC4S7gKXmxHM= X-Google-Smtp-Source: AGHT+IF3QH4hp/4U3Hp+gb7jkfO9fNrNeL2Z5oENyryC+TVN0IREM253Ny0X8M4TjWolatu4yt6b+pzak/Rvdv//Qe8= X-Received: by 2002:a50:8ad2:0:b0:567:3437:f06b with SMTP id k18-20020a508ad2000000b005673437f06bmr174504edk.17.1709827419904; Thu, 07 Mar 2024 08:03:39 -0800 (PST) MIME-Version: 1.0 References: <87h6hi1iga.fsf@gmail.com> <87sf12xjjj.fsf@localhost> <87cys6142r.fsf@gmail.com> In-Reply-To: From: Pedro Andres Aranda Gutierrez Date: Thu, 7 Mar 2024 17:03:13 +0100 Message-ID: Subject: Re: Emacs slow-down To: Bruno Cardoso Cc: Ihor Radchenko , Org Mode List Content-Type: multipart/alternative; boundary="000000000000fda45d0613143754" Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=paaguti@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.63 X-Spam-Score: -6.63 X-Migadu-Queue-Id: 10A8117A3A X-Migadu-Scanner: mx13.migadu.com X-TUID: xjRcwHJcwKBH --000000000000fda45d0613143754 Content-Type: text/plain; charset="UTF-8" Hi, my profiling when deleting a line from a table: 650 43% + redisplay_internal (C function) 521 35% - command-execute 470 31% - byte-code 470 31% - read-extended-command 470 31% - read-extended-command-1 470 31% - completing-read-default 443 29% + redisplay_internal (C function) 11 0% - timer-event-handler 11 0% - apply 7 0% + jinx--timer-handler 4 0% + org-element--cache-sync 51 3% - funcall-interactively 34 2% + org-kill-line 17 1% + next-line 200 13% Automatic GC 57 3% + ... 57 3% + timer-event-handler Interestingly enough, this redisplay_internal function seems to be the real pain. I think we need to switch to the main emacs devel list here... Best, /PA On Thu, 7 Mar 2024 at 16:50, Pedro Andres Aranda Gutierrez < paaguti@gmail.com> wrote: > Hi Ihor, > > same here and changing to text-properties didn't help making editing org > files less bumpy and slow. > I don't know if 886 lines is really very much... but that's my org-beamer > size for a double lecture. > > Best, /PA > > On Thu, 7 Mar 2024 at 15:58, Bruno Cardoso wrote: > >> >> On 2024-03-07, 13:23 +0000, Ihor Radchenko wrote: >> >> > This is strange. `org-fold-core--property-symbol-get-create' should be >> > very fast normally. >> > >> > A blind guess: do you have `org-fold-core-style' set to >> 'text-properties? >> > >> >> Hi Ihor, >> >> No, `org-fold-core-style' is set to 'overlays. >> >> > > -- > Fragen sind nicht da, um beantwortet zu werden, > Fragen sind da um gestellt zu werden > Georg Kreisler > > Headaches with a Juju log: > unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run > a leader-deposed hook here, but we can't yet > > -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --000000000000fda45d0613143754 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

my profiling when deleti= ng a line from a table:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0650 =C2=A043% + redisplay_internal (C function)
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0521 =C2=A035% - command-execute
=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0470 =C2=A031% =C2=A0- byte-code
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0470 =C2=A031% =C2=A0 - read-extended-command
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0470 =C2=A031% =C2=A0 =C2=A0- read-extended-command-1
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0470 =C2=A031% =C2=A0 =C2=A0 - completing-read-de= fault
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0443 =C2=A029% =C2=A0 =C2=A0 =C2= =A0+ redisplay_internal (C function)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = 11 =C2=A0 0% =C2=A0 =C2=A0 =C2=A0- timer-event-handler
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 11 =C2=A0 0% =C2=A0 =C2=A0 =C2=A0 - apply
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A07 =C2=A0 0% =C2=A0 =C2=A0 =C2=A0 =C2=A0+ jin= x--timer-handler
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A04 =C2=A0 0% = =C2=A0 =C2=A0 =C2=A0 =C2=A0+ org-element--cache-sync
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 51 =C2=A0 3% =C2=A0- funcall-interactively
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 34 =C2=A0 2% =C2=A0 + org-kill-line
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 17 =C2=A0 1% =C2=A0 + next-line
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0200 =C2=A013% =C2=A0 Automatic GC
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 57 =C2=A0 3% + ...
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = 57 =C2=A0 3% + timer-event-handler

Interestingly eno= ugh, this redisplay_internal function seems to be the real pain. I think we= need to switch to the main
emacs devel list here...
Best, /PA



On 2024-03-07, 13:23 +0000, Ihor Radchenko <yantar92@posteo.net> wrote:

> This is strange. `org-fold-core--property-symbol-get-create' shoul= d be
> very fast normally.
>
> A blind guess: do you have `org-fold-core-style' set to 'text-= properties?
>

Hi Ihor,

No, `org-fold-core-style' is set to 'overlays.



--
Fragen sind nicht da, um bea= ntwortet zu werden,
Fragen sind da um gestellt zu werden
= Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should ru= n a leader-deposed hook here, but we can't yet



--
Fragen sind nicht da, um bea= ntwortet zu werden,
Fragen sind da um gestellt zu werden
= Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should ru= n a leader-deposed hook here, but we can't yet

--000000000000fda45d0613143754--