From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id iBpBMCPSYWZPdwEAA41jLg (envelope-from ) for ; Thu, 06 Jun 2024 17:13:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cPKPKyPSYWZ3ZAEA62LTzQ (envelope-from ) for ; Thu, 06 Jun 2024 17:13:39 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FQcEyys0; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717686819; 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=SaWiP/qmuYpqDVPMRgRu/4HjiIcuKOLdZs+hCCLeo5c=; b=dO/sK54/AdebzRmUPihIdSEEFqs9OT2isCCmnDSO0EXp49z4BPcd1Yhjf6GHWHpL6T6z1t Ury7JD+JjjSYIcvGsmFNV+O0TWP/t+3pM3BfwJm4qYWr7vsZHfvzTdATqW58W+AeNeOpxw +tzMmBDG6bYHcnhZdTpLGimplVMFSfZUwcUPxWDJHDbWx8VdEy+/Q90PwgNoWJcJqmLcvs ihgw5RuUAeUFM08CKQspcLiG5CoGSZeR4XQ7hdKZIcNlnQ07XtoYqEc+9EqbgwZ3xH3XmU 1x2inRORT7qx6hjLKd1gOXG2n/2GK8TpBVh379gQctlQOrVGMZSvcGR6HW+IfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717686819; a=rsa-sha256; cv=none; b=nvydTFrrv3CAH867xazq6T5hSpEGcH++0uz9vEJfV5fYbFsZadwGkPapSM0nJ8sTC1RqVx SO71mj1rlubHqSfJ7uQapRxEjMK+QLy3bOb4wtHOaDAUfxa/q9azrK0pVCXkBwoQ5XEDYr 7YtNlF48Mhi+6I/FaXuh0tdnDJ23XJWlPsNxIpJPqbTvFOZgZFHfbOMDzkkew9Y5TH7dSR VFsRAhUhDhRwnFPhChZL2OzR/rj1YSAcpnkF1x48HoZgm04CcP+2qphjebpyvKMOYNgUiH egqVOK1WXvKYjbLIkRM3oH9uHFHakfsDbVP4Mg+UmHbTuLkdAHy21+oQzSHTVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FQcEyys0; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 39FD673024 for ; Thu, 06 Jun 2024 17:13:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFEnM-0000yA-Oi; Thu, 06 Jun 2024 11:12:52 -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 1sFEnL-0000y1-9U for emacs-orgmode@gnu.org; Thu, 06 Jun 2024 11:12:51 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sFEnI-0000dI-Gr for emacs-orgmode@gnu.org; Thu, 06 Jun 2024 11:12:50 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id ED28C240104 for ; Thu, 6 Jun 2024 17:12:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1717686766; bh=Gb7t4pRcRKMBts4pzIHHsAiNCHubaWIp3XG49q9dFnM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=FQcEyys0GQwqB/vlDhsprv5yjwEyhIG8MMBi2VdxnVCzrpp8CqCcRVHXYqEFrwJEq hWCEh7vU5ucRtgZQtMxYDgkoNLSvauVuoYSjdhjJc7/QcNVY4GVgAfuHBL5es8OKF9 lgBvyY2Yvj06SPUNnNP8bKbrj2tt2Iomt9ZKqL3+qKt8R9HHSDOrzYYdf5Cr09ZaL8 sgT9JICh+PqgRYQQzh4gt/B6srG8hmZSp+qctAKd/zZpXH4TWJ5gOk2CkPKnhPJKi8 BDIpEKNNxaU38erTANXttSSE9y0hNcPPTzuffphPEqdldr5l2rm+WyEpprfO1+8/GK 3oAIfmda5dO0Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Vw79n3NwBz9rxM; Thu, 6 Jun 2024 17:12:45 +0200 (CEST) From: Ihor Radchenko To: Christian Moe Cc: emacs-orgmode@gnu.org Subject: Re: Very slow getting tags for completion after 9.7 upgrade In-Reply-To: <87wmn28rqf.fsf@christianmoe.com> References: <87wmn28rqf.fsf@christianmoe.com> Date: Thu, 06 Jun 2024 15:14:28 +0000 Message-ID: <87wmn2gl2j.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.56 X-Spam-Score: -6.56 X-Migadu-Queue-Id: 39FD673024 X-Migadu-Scanner: mx11.migadu.com X-TUID: MrGqP9Z13Bfq Christian Moe writes: > After upgrading to 9.7 (still on Emacs 27.1), I'm seeing very long waits > when trying to use tag completion in large files, whether with C-c C-q, > %^g in capture templates or running (org-get-buffer-tags) directly. This > applies both to 9.7.1 and 9.7.2 (on two different machines with similar > environments, both older hardware). On repeated tries I have also had > several freezes. May you please record the CPU profile? You can do 1. M-x profiler-stop 2. M-x profiler-start RET cpu RET 3. Query tags 4. M-x profiler-report 5. M-x profiler-report-write-profile 6. Share the saved file -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at