From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6PfiGchM4GUnIwAAe85BDQ:P1 (envelope-from ) for ; Thu, 29 Feb 2024 10:22:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6PfiGchM4GUnIwAAe85BDQ (envelope-from ) for ; Thu, 29 Feb 2024 10:22:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=RITYPfzV; 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=1709198536; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=/Vt38B/y21q3JYjkml8ldIli8ZjQb7hD3gfKvBNh/98=; b=sjV8zaj35TUDqFsZzdbN7DYk8DFcSdGOvpd88033KnKJW4f+jRHx1u44pr03EZDtYaQ/u2 f4o6FcNt8+wy250bz3Pdqf/5ADNPZpPK3iWfst1xjWuLJHyYUXqAzFgIOjaZNHvkjR4QhV HkfEBrgYaoQ881EldcyoGkO3V+lE3MyqjEYZlY2TVVeaJRZZFganJQa3LavhlRbAyrPPCX AfJA5PtxV2Tdn1AVymnYWCnsddnQSAjOx98MnXVY7yN6xMgNjPBcj9Op3BLXPlziTqkLjh QMnVGObCAGxnoP07hMd3BunYYwhUvmCNP80jLO96HzaaGd3yBVI8X7SmhQiGNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=RITYPfzV; 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=1709198536; a=rsa-sha256; cv=none; b=oKqcSTebqUrAZtW7lrK/YmX2mNR0qCq2xFRxphyk5ue5+cGe8/4RLfhRuvvxuwJawHfD5B TPpiv6+3T2g/nVizeuim9zNlNyDgCLAmNIgMyEqdS8Yr9WQcqo0kz/vZfr5awXrH+N4Kf0 067zpPBY8/oCmALQhi29VeGy4pTSskpdxo/pTSTQ/Fae3BYekaduNDsw6LLKHl4JzzEtIa gBxM8wkHkp36Lky5Z7x5hT+ApaNDyudT+cL0t52pVaFIlhzhBYibSJbmsVIkppVPbpT++m cPeFYcdBR8E6FCqAYg8PISeAcmtLFzy37zzkMYKkRn0fHaW0yUwS06c/AXiuLA== 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 1B6AC5E1F6 for ; Thu, 29 Feb 2024 10:22:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfcbP-0007ER-BQ; Thu, 29 Feb 2024 04:21:19 -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 1rfcbN-0006zU-8E for emacs-orgmode@gnu.org; Thu, 29 Feb 2024 04:21:17 -0500 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rfcbK-00019b-MA for emacs-orgmode@gnu.org; Thu, 29 Feb 2024 04:21:16 -0500 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-513230201b2so495805e87.1 for ; Thu, 29 Feb 2024 01:21:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709198472; x=1709803272; darn=gnu.org; h=mime-version:date:references:in-reply-to:subject:to:from:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/Vt38B/y21q3JYjkml8ldIli8ZjQb7hD3gfKvBNh/98=; b=RITYPfzVs63t/f+nc/rM5Bkf0W2P3AerqG549/oFZ/YBF0t+L6Uf8BwixA9ghoK4it IOG25dXhNJ7tr8BXteUH62gAmBuU7DmITT8VSQWFK3o0N9YPqLl6dsi2adXKQjfCdHuS EB2Qvv30LN5q5me/naeKKNVPrrWBnFgsqqTE13fJf9dLEF3eM2r/l9KrDtQk/5dk4t8p 5dfLE5v8RZhw+PNoSLHBwMSFzD/5zHgwnMGhY74gjelpTrtSJq0WhWfFXeF1viKS3HDi alcUYTlo4ywZqjvsjTyRpPnGza/VhzQMbMmd2t/nxtK7TAHsizGETl6jo4JBmeEgkkH2 aSSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709198472; x=1709803272; h=mime-version:date:references:in-reply-to:subject:to:from:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/Vt38B/y21q3JYjkml8ldIli8ZjQb7hD3gfKvBNh/98=; b=VrHQhyWr1NqxpyEjuNYGlf7jmJ8qnRZf0+1lV+BaFPEYJkkj2fSWo3n7Z481iEdLby WAFXhqCbC+JV8t4zPNwr+C3Vly77cNv3rPzMIazB581kRiaUW9KH2ObYlAjv7kQBC61j AyTh+M6tPKMLZP9MpSaoRIjH3zyX/PvktEAsqbVhfIYY3ZSspd38r/4wSh8abxa4ff+9 tQFCHkcbTzyHxu1jBmexSOa4MhC52uhaH3L+jBUtf3BORM4vVBaPA1G4r++uIbLvj/iK xS1VvLAWwjNS9cFQZlmdhUH5Sa9OdKBjusYE/CUzGzzLN8Njx1AQhgjj3JK70TJ8dhZb 0xgA== X-Forwarded-Encrypted: i=1; AJvYcCWxksxvZc3Qxvkqm/hEHyEv2aeqIlLCw/TbLV7sqco1U5t1hUaW5m79r4+plCS713sM6Kyj0HW0uMkQ8hbXFoOrsWMGzG4= X-Gm-Message-State: AOJu0YzPDgNzR19makdkw5Bg1nPVKDRsHAmv8Y1zT3p4bC1r3jh0ACXB IssJK0ImK/DKIIHZB7B+7zTFfV7pY0w0WxnDvwlnE76+lzjNA8fDNO8FYepq X-Google-Smtp-Source: AGHT+IFTwUrz+pJQHiBI+xSTMF+hWdM64zHrENtXQimAi5oG8X/dgSlMKa/jDejNt/hlby0EXnxSOw== X-Received: by 2002:a19:7611:0:b0:513:19c6:794a with SMTP id c17-20020a197611000000b0051319c6794amr829263lff.68.1709198471997; Thu, 29 Feb 2024 01:21:11 -0800 (PST) Received: from keynux ([2a01:e0a:505:3460:1c18:688d:ece4:372e]) by smtp.gmail.com with ESMTPSA id j13-20020adff00d000000b0033d06dfcf84sm1200455wro.100.2024.02.29.01.21.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:21:11 -0800 (PST) Message-ID: <65e04c87.df0a0220.eccba.414f@mx.google.com> Received: by keynux (sSMTP sendmail emulation); Thu, 29 Feb 2024 10:21:10 +0100 From: Bruno Barbier To: William Denton , Emacs Org mode mailing list Subject: Re: Things got very slow: profiler output In-Reply-To: References: Date: Thu, 29 Feb 2024 10:21:09 +0100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=brubar.cs@gmail.com; helo=mail-lf1-x135.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, MSGID_FROM_MTA_HEADER=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-Spam-Score: -9.00 X-Spam-Score: -9.00 X-Migadu-Queue-Id: 1B6AC5E1F6 X-Migadu-Scanner: mx11.migadu.com X-TUID: TAAG4h0YF3YF Hi William, William Denton writes: > I rebuilt Org and Emacs from the development trees and something is wrong, because some Org files I use regularly have become incredibly slow to use. I rarely use the profiler and don't know what to make of what it says, but I opened a file and ran it while I moved around and expanded and collapsed some headings for a minute or so. (It was so slow that it took me a minute to do what would usually take me a few seconds.) I'll paste the results below. Does that say anything useful? There is a little LaTeX in the file but not much. > > Any help on interpreting this would be welcome. I can try reverting to an earlier Git commit tomorrow. > > Bill > > Samples % Function > 73203 70% - redisplay_internal (C function) > 71496 68% - jit-lock-function > 71488 68% - jit-lock-fontify-now > 71472 68% - jit-lock--run-functions > 71472 68% - # > 71472 68% - font-lock-fontify-region > 71468 68% - font-lock-default-fontify-region > 71436 68% - font-lock-fontify-keywords-region > 71124 68% - org-do-latex-and-related > 71124 68% re-search-forward > 228 0% + org-activate-folds > 16 0% + org-fontify-meta-lines-and-blocks > 12 0% + org-activate-footnote-links > 8 0% org-activate-dates > 8 0% + org-activate-links > 4 0% org-do-emphasis-faces > 4 0% org-fontify-drawers > 4 0% org-raise-scripts > 28 0% + font-lock-unfontify-region > 4 0% + font-lock-extend-region-wholelines > 4 0% text-property-any > 30951 29% + command-execute > ... Did you customize org-latex-and-related-regexp ? Is it still slow if you set this to nil (which is apparently the default value) ? If not, telling which version of Org, that you were using before, might help. Bruno > > -- > William Denton > https://www.miskatonic.org/ > Librarian, artist and licensed private investigator. > Toronto, Canada