From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uEN3N6Y08mVHAgAAe85BDQ:P1 (envelope-from ) for ; Thu, 14 Mar 2024 00:20:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id uEN3N6Y08mVHAgAAe85BDQ (envelope-from ) for ; Thu, 14 Mar 2024 00:20:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=B0syOzEd; 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=1710372006; 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=u9kCzBRWSjTR5jB62NVG0PMatMS2r+S9dn1hQ3w2uS0=; b=TapFerhHUHlwvGFiFspqf2EAdqE5+UDK6MFfrlQTEzI42s1dK1b7jZc5GQK5mnwGUwhGOw pGmLcMzcuDl/L0WsTireKb4GIy1enYVfiAWaxcxgPZq1o7GuXCfly6xBMT0T4IU1mff11m apNqWoCgf068yyWn4Psz7kjBLYbU73C/ugtNqmCnn8lSEq39Du8dcjJ2eMZFKn18kfm+uO dZ6GKJhvTn3sitVjugjMOMx1kP4tWR0iyoRQzconmkDg2gB/ynEtxz4S6W62a71rbLADFs WMWlPdT16YSDnxxY3UxL/YjnSH2XMHMidpmmYymko/dpLsnuDSq7YEzCTpz4VA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=B0syOzEd; 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=1710372006; a=rsa-sha256; cv=none; b=PjsjlGboHLIxjIRQr/O0JG3BZ9MnGvF5ICTovuhP79C5sJvXyPdl2ADOuQ8GXoz+jkIwqM cyex8MiQcwtcHoNvumuHMFOzDuyjJBcQ0je9p6HvUShyu9YuOX+x1X3sVCM1LyfbXHKB2+ QCkXb4EoDhxEvF0U62m2dUh+hSGHFTJ0C9yH/q9jh6zLxIABoZQZFMGdCl54CfytgQc4Gi +q8ABZqz14hRJGGBuBm660YYBYWqDMkOterksPJ9UagfauBcv4FkmO+w4Cb0ds4Z7Gn+2n zBfkglONdGJR6THUAA3dHed/LVm9WtJC3+F85ZtRCZ/8J6e1t6aNc+Kq4GeSxg== 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 6A10A371B9 for ; Thu, 14 Mar 2024 00:20:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkXsW-00086L-9O; Wed, 13 Mar 2024 19:19:20 -0400 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 1rkXsS-00085v-TC for emacs-orgmode@gnu.org; Wed, 13 Mar 2024 19:19:17 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rkXsR-00089e-Ce for emacs-orgmode@gnu.org; Wed, 13 Mar 2024 19:19:16 -0400 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1dd8f7d50c6so11386145ad.0 for ; Wed, 13 Mar 2024 16:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710371953; x=1710976753; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=u9kCzBRWSjTR5jB62NVG0PMatMS2r+S9dn1hQ3w2uS0=; b=B0syOzEdQgfRs9A8k4oYicw0DHb19v3CRHSoowOi7ln+bDx343RIeimCKq/90xV2GQ kbbiGhgFRaipt4Z7LbKH822wTdgyW5RIQeAfCbiziBiDAheu6c2qrVnbZC6b+JUGfW// 5gdvDesLEaa80Ac7ExlhFEV/6FxfERB3vpZ9+6zA7BZWEqBKCdN43+16FQGcsUm6Q8Ar dQ85AocGQbtGYFGevCs7vCVJzzVgtJH1pPGO0kOJKX2g/DQ9lnBkBKNn6zQyFbVFrtCJ TOQqb4VRy/dvNecE9yTdTUErGcHWOxJ/yt8l1H3b0DvybJYA+3S6DHNsk1oiedFPsffd HwVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710371953; x=1710976753; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=u9kCzBRWSjTR5jB62NVG0PMatMS2r+S9dn1hQ3w2uS0=; b=tfq1NbYg8TC6eDUhjySSemR6srEtUEoRB+r0F37c7D6QUbnxtimgw0NYMGbPWLEUhi giINIEvW1EVtJG/CbRZNXK7ejcwMY2QpjB2iVjd7TwA+p7/QV6ihrCda6YB6bXZoZozE ajZKxYDMcKnRgC3P3w2WQzqhD+GnQJvKzgE6griOwLmjZOqUdh/p3vL9HNElmDESr5l4 eAcsi+4hafIAQQLRNLU7imT3jWHCfJufZzzCOtxTY7z3QDA4ql/mcT4SsolR1d3kIMfy 7XGzwPW8aHPfAiffav2Ta8Rv6v3dYEj8CgRM1i9zKRu6PMQDSaWKzGWiejKPBAqpv+Tq ajCQ== X-Gm-Message-State: AOJu0Yx2djXLoA+QSixsOmdoL5P1P5tgPgHv/K0qsMZ+V2EZelziORHJ YePeCDufg/zcutzU8WRO1/RIsj6C359uk0NB6jS9GvyQNA1ByvrLwpzdQIxq X-Google-Smtp-Source: AGHT+IEQnost6fkkumhrVm/NoNoUr5+eLTEiVAoYC0tUWR2XhKmMSunCccot5hduGzPLxwCi9bMCRQ== X-Received: by 2002:a17:902:ea12:b0:1db:e74b:5bb4 with SMTP id s18-20020a170902ea1200b001dbe74b5bb4mr5767994plg.14.1710371953011; Wed, 13 Mar 2024 16:19:13 -0700 (PDT) Received: from storimasta ([2804:14c:5bb1:5200::f705]) by smtp.gmail.com with ESMTPSA id u16-20020a1709026e1000b001dd6d8abff9sm163067plk.203.2024.03.13.16.19.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 16:19:12 -0700 (PDT) From: Bruno Cardoso To: Ihor Radchenko , William Denton Cc: Emacs Org mode mailing list Subject: Re: Things got very slow: profiler output In-Reply-To: <8734svei2j.fsf@localhost> References: <65e04d75.5d0a0220.767a3.41e0@mx.google.com> <8734svei2j.fsf@localhost> Date: Wed, 13 Mar 2024 20:19:08 -0300 Message-ID: <87wmq5btzn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=cardoso.bc@gmail.com; helo=mail-pl1-x632.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, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.49 X-Spam-Score: -7.49 X-Migadu-Queue-Id: 6A10A371B9 X-TUID: vvTFRGS03Ky+ On 2024-03-12, 12:43 +0000, Ihor Radchenko wrote: > > Profiler data does not make sense here. > In any case, I tried to make fontifying newlines after folds slightly > faster on the latest main: > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c9b655f27 > > If you are lucky, it should help. > Hello, For me this improved the situation a bit, but I still get significant slow-downs as before. I don't know if it is related, but if I set a property (C-c C-x p) in a new heading with no drawers, I'm unable to unfold the newly created drawer (TAB over it does nothing), although I am able to fold/unfold other already existent drawers as expected. This also happens in `emacs -Q' (org-version 9.7-pre release_9.6.20-1280-g7653e5). Besides the profiler, which still blames `org-fold-core--property-symbol-get-create' for the slow-down, is there some debugging configuration I should try out? I tried setting (setq org-element--cache-self-verify 'backtrace) (setq org-element--cache-self-verify-frequency 1.0) but it does not signal any error. Best, Bruno.