From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0GQDMdjkjGP8hwAAbAwnHQ (envelope-from ) for ; Sun, 04 Dec 2022 19:20:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QES5MNjkjGPD9QAAauVa8A (envelope-from ) for ; Sun, 04 Dec 2022 19:20:08 +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 69859477E4 for ; Sun, 4 Dec 2022 19:20:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1tZu-0001aQ-0k; Sun, 04 Dec 2022 13:19:02 -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 1p1tZs-0001aG-D2 for emacs-orgmode@gnu.org; Sun, 04 Dec 2022 13:19:00 -0500 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 1p1tZn-0002tm-Jx for emacs-orgmode@gnu.org; Sun, 04 Dec 2022 13:18:59 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 67F86240105 for ; Sun, 4 Dec 2022 19:18:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670177933; bh=I1WUp+hUt18SLgC6tUZ2Gyz+mtRK3xW4xyC7ipJkYV8=; h=From:To:Cc:Subject:Date:From; b=pxFdOQD/jBqmN7qafuy6zeD1ALiTWBL/3FYsVkP1OIUo2W9xF3WyQEvyULq0mUE/0 yVBvrvM3FI9XNQty4igUCmGs2Vkslr8FjQ4FQXUaUTMtLk3Rw91URSjG3YIB1WJMzq XDfeOK39BXykv4cWYTc2Qqlksf8UwNurB3d0IGvFkJRHlNFLZ6t/anAPdz5U7Y5xSR JohiI0hT2XtgIQcIY4OG6Dyh/qYebtkju7kSKePnIy7uQwbHxn5VME+r69f+6b4YNy VmFqQiL9447GWj41cTvZWqIDh0gx/7GBgSrE7JgziUyBxusCZdGSifP3Q/xr9t34Gt pmwDe5+zUqXYg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NQFLL355Pz9rxK; Sun, 4 Dec 2022 19:18:50 +0100 (CET) From: Ihor Radchenko To: Eli Qian Cc: emacs-orgmode@gnu.org Subject: Re: Clocking in is pretty slow in version 9.6 when the item has a large In-Reply-To: <87a643f4ng.fsf@localhost> References: <87a643f4ng.fsf@localhost> Date: Sun, 04 Dec 2022 18:18:47 +0000 Message-ID: <877cz7f2wo.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: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670178008; 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=BM5/zEgYENLrr/cpUqerySOrEhcopb79QNhZ/PKapG8=; b=QhQa3ro5w2BMnUXGZZErNHd8iYOg/ybV2v+e+zFd+xd3iMB4WG1eLokfM0puK0J5zjhQrX P9qWvsdyLWMDpi0YcGXMUT7kE9eJ2QjmoBRdaEr/tSEJWyR3alx9pGY9JLW9S6gCYWmf/+ 8f7EpyeUkSpDJ5ONkHBma6MMC7ATwJiD6CcxaR1L8aI9AEVgam3laTNHiWABzkHs+HBhlf z/CzzFpm9YDnQx1RABVKpuUdnytnVNLopZlyZ5s4UzXnTooPKqnQy4S/y/UMHyudSVL3/J UFYAN+1E+VgXJRN2GiA46adl8RSrM+T92IvrK7Z4c5mKVgwDRE/eb5lP34SCOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670178008; a=rsa-sha256; cv=none; b=YCvZCAHY6jI1VdZak6VIJXyKQthVI2teV/wiIzskOJISySe3Ga8G1ZE1qZxFitgQybZky2 rEQ5cHtG4VqHI3dQiIm/Lf8r9/3Xs6izmpidKlXukQb9Bpuk5KkmNnoLg2qpThJtQMRwQn IHIQizs0gZxgz4/K7VULHzFP9cw9Z2tydqMEmahk1f8hX2joXeKYpZhZdd7Cu0F33qgQ9+ 2XqOUmCIFbqaiB1fGH09cBV2rByrZpG+WIebCPEoiVqYb6zx+g3KbMLSLRWlHcvfXwvEc/ ZObQ3kaToRP78hPmaDfl7YRVQU60B+vHkNT4OYaOCvuphWckp1oIhtCYhmlRQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="pxFdOQD/"; 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" X-Migadu-Spam-Score: -7.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="pxFdOQD/"; 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" X-Migadu-Queue-Id: 69859477E4 X-Spam-Score: -7.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: nbkmKzbgIc1b Ihor Radchenko writes: > Eli Qian writes: > >> Any idea about speeding up clocking in? > > Try reducing `org-element--cache-self-verify-frequency' to a smaller > number. For some context, self-verify staff will only be enabled during pretest. It is an equivalent of ./configure --enable-checking in Emacs. We do it, because we absolutely need to catch all issues with org-element cache ASAP, before the code goes into Emacs release. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at