From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cO3uAw2C72MtVgAAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 14:33:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gKTXAw2C72N2qgAAauVa8A (envelope-from ) for ; Fri, 17 Feb 2023 14:33:01 +0100 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 C65FF11AFF for ; Fri, 17 Feb 2023 14:33:00 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=j9DnaO41; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676640780; a=rsa-sha256; cv=none; b=MaxerJ63HKf9eyzY0WcJkbsAH/fHGft27n9QrM8Xf2hJ8G1z3WbIopTiJjiBHsN7El81pX 9Dl+mun06cCwf6lm92Jb0mSiIp3W+SZlKO3NTX5yNOfIaiVVi/xC1pAJzaGBYnVWzcfO3e f12uLVlVVH83GBRS/L6Z5AUfE7vbHiXvg89BMRJ7btZfMqqLbtIxJAT3l43G8KWwbllDrw 6g4mrGttFSrtS/20MwKm83Ai2ItFloKMGVy/S2cDDUxFYlKM5AQtaKNab6hm8VCPHcNsoB 0Rlc+I0NYwVTrPbzTm841Xa9tRc0akHbLhwafmQC1IAFt+qqjhPmtnZzh9OXrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=j9DnaO41; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676640780; 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=VyaXg6yDJ34vTayV8HkANXLVDyA7gTVHpDBYsjS9j4U=; b=kW1lPailnAJ9tQHs7ICITUyN4kl4fjFIPzqV+ky0QBgLuv+Vt7XyeUyeuPEgoLsdu9yrw5 Exy7dL522wf4go3yTh5tGYx0RDIfh8fPt0iQa9FYHkDRItzxu378iRMyQ7gHSL3vuBNCHh 6bx/kAgJwglcMsznA1xpFCWuslQrM+OL9FVtDp3e2cXaSw7SoGZfhMH8395sKj2LiIZODa 3eO4hBrodet8UJVy8qUxaad768BVh+tYd4ckUjrGUDeVFABuV5CGbu2+5lbTjjdET7J4l8 nz9fd4axJBVhQgzLu7ud0ZX4OAyoBy5De9t7hB7iJf9p2xsYaV4u7S6iIzUWxA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT0qV-0001s4-9P; Fri, 17 Feb 2023 08:32:15 -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 1pT0qT-0001nW-Sj for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 08:32:13 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pT0qR-00046X-HI for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 08:32:13 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E12AA24037A for ; Fri, 17 Feb 2023 14:32:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676640729; bh=58agfHfk4fbifyP883MxTMneSn19JIBUy7sT69jqE3w=; h=From:To:Cc:Subject:Date:From; b=j9DnaO41IQK9mQ2yVWUruJ3ddyVMYLkWhimwmTFZ37KyMp0uyrXVvKmotsCaZQNsK BPX28l4l5o7vJ/xh1anEQgRMCTteBFhjGax40OjwJGmhNTwxH05Km8q4sKWXdw+WS7 LCOai35Cs2ofj3/nm96tzGEZqAuPVTmP2aySfuMP9A7HHYdwa72n0DnePgxeFmsuaU qo1aGhbvcxVwfPyOe7hhvJ2ZPPMCkfU0MsKobGuaOTi5ALAJxJrD1oYPAoR7Secqr3 QWj2H3PSOXkUVMiRv0RJflUJGiL+8i5E0VDoSZFvkdvM0L070tXrDm9+nQFon3VGLn /R6IKdTjuQR4g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PJCQt4mNxz9rxB; Fri, 17 Feb 2023 14:32:06 +0100 (CET) From: Ihor Radchenko To: Marcin Borkowski Cc: Org-Mode mailing list Subject: Re: New Org (from main) and slow clocking In-Reply-To: <87bklse87y.fsf@mbork.pl> References: <87sff4bx8k.fsf@mbork.pl> <87sff4biub.fsf@localhost> <87bklse87y.fsf@mbork.pl> Date: Fri, 17 Feb 2023 13:32:44 +0000 Message-ID: <87zg9ca03n.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: X-Migadu-Queue-Id: C65FF11AFF X-Spam-Score: -10.91 X-Migadu-Spam-Score: -10.91 X-Migadu-Scanner: scn0.migadu.com 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-TUID: FSu1pFZwtukm Marcin Borkowski writes: >> Do you have org-element-use-cache set to nil? > > No, should I? You should not. But, when it is nil (not default), things will be slow in your scenario. Another thing you can try is setting org-element--cache-self-verify to nil. If it does not help either, please do M-x profiler-start cpu [clock in] M-x profiler-report M-x profiler-report-write-profile cpu-profile.el and then share the resulting profile data. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at