From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cBmMNeDpjGOQFwEAbAwnHQ (envelope-from ) for ; Sun, 04 Dec 2022 19:41:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GGE9NeDpjGP3QQEAauVa8A (envelope-from ) for ; Sun, 04 Dec 2022 19:41:36 +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 73C1C1C46C for ; Sun, 4 Dec 2022 19:41:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1tuq-0005cr-EK; Sun, 04 Dec 2022 13:40:40 -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 1p1tun-0005bc-Ct for emacs-orgmode@gnu.org; Sun, 04 Dec 2022 13:40:37 -0500 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1tul-0002c0-F5 for emacs-orgmode@gnu.org; Sun, 04 Dec 2022 13:40:37 -0500 Received: by mail-pf1-x430.google.com with SMTP id c13so2269346pfp.5 for ; Sun, 04 Dec 2022 10:40:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=eSz7ULm2xy/5NmnFGG2VVzGpNufxOk6LqCvcuU3dFDI=; b=iG0TtFtUd+MQGMAnT+uShCVlaBuzMd0ctD7qVIFJS8WGU0vFC2+sDitSM1iu7K4LWp wjixTfAWvaXFwMIHWBLg9eg2I7Y9pfZv/tfb7lQaVYsBXRxNHTMDFtbUlEvJ78MuxSCT Etk07TJBZ5Uqaa0aIrBLss7RPa/wP1yNr9E3QaydKPJSPw27IEZzsYh2aBQ/GZCtDmlG gv2cBSaYXeJKPxHfmIR6y3eYA8CgGMrv7zKj1r44og9Uk9pMKVbOODA8fckoDFAC6YZn 7T1/1wASB7fT0m8TMOND4e4ff29EtWJf4UBBTLz51YrgrjY6ggX7YcitO11wRb3C8E/a xUqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eSz7ULm2xy/5NmnFGG2VVzGpNufxOk6LqCvcuU3dFDI=; b=yNEBHPGXfk+vIIDmrAkhMsm8oCU+t6VKsV486pupJ7UZdgPEd6SllXUjBsuZHTDuIs Np6ujgCSnCZC6pwC3g8ev2DhoPzxfS5wVMU+qSzTgxCe82aS05gOSvSM3T807HZ+f9ic xjoGssGUPr10Y5GFsvI6datPa7w/QKCHqYgtegY71nTBDmKcHCEAHTmgVezE4u9A406w NoaRhjkvacJCQi914tf+srhIOlKQXrldYZwPsVcPdRwP5ldGRfkRhyb85lvLif9jyc48 B054gBhxeIHimZFvs23ncn1DxvHRGdeCtIco4/qGldvHw/zqvndHGB0ALEgCh/IRGJa0 bsiQ== X-Gm-Message-State: ANoB5pl2SLzvQDRyEC1C/yObB4m/PyuatU8laIi0GUt4T/PEBUk6ozoN cCGvvGlhnajWUyEXS7Ed8vk= X-Google-Smtp-Source: AA0mqf4wYGynYXCU4O9tE/94sLUaJycIBRnLYF0AxTlDemmQaOd97kiBPMIpuGKXhXImrCtNop7TgA== X-Received: by 2002:aa7:998a:0:b0:575:6907:662a with SMTP id k10-20020aa7998a000000b005756907662amr28719065pfh.57.1670179233635; Sun, 04 Dec 2022 10:40:33 -0800 (PST) Received: from smtpclient.apple (2603-8001-7a00-01a0-79aa-5590-4160-f2a2.res6.spectrum.com. [2603:8001:7a00:1a0:79aa:5590:4160:f2a2]) by smtp.gmail.com with ESMTPSA id g204-20020a6252d5000000b005756a67e227sm8591848pfb.90.2022.12.04.10.40.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Dec 2022 10:40:33 -0800 (PST) From: Mark Barton Message-Id: <5DC9610E-5849-4C54-A32B-C8C7A1106012@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_D80BB56E-1700-4CCD-AADB-C62B1D5016CF" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Clocking in is pretty slow in version 9.6 when the item has a large Date: Sun, 4 Dec 2022 10:40:31 -0800 In-Reply-To: <877cz7f2wo.fsf@localhost> Cc: Eli Qian , emacs-orgmode@gnu.org To: Ihor Radchenko References: <87a643f4ng.fsf@localhost> <877cz7f2wo.fsf@localhost> X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=mbarton98@gmail.com; helo=mail-pf1-x430.google.com X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1670179296; 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=eSz7ULm2xy/5NmnFGG2VVzGpNufxOk6LqCvcuU3dFDI=; b=ptyCwwGaVi7sa9WJUdaCx2yong6B/BH6BrBWff/E1OuXA/lI/LN6ixCPkmSHDuGwdEvSYF LzP3RknGezX+T89hmBvxZXfkqlfz1IH7h9mSAlwOtcYnvuDcX4r05cRfsmbdjSxnM+DYrq cN5xJIuVqbMStiUOjWY5fih3Hq+BL+tie5b4NKy+y93ucPNCifZlZZIJC48pFY5Vrnjl5e fthtV/c9yFIxDtGajgti6EomjiGAIfTkeGnc78Klsc4ZyV3WTKA2ohQCZclibLH265uqgw s/GkEgRWSYBmKFPR+0SmYRjvxMe6YaQTcgvM24ePiru4E+uPdr3Y6aSlhFNXCg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670179296; a=rsa-sha256; cv=none; b=W5XorPnc3cCVV1HbsYzjk4R0M2Km890RkTd9vp4Y6LUydtS+f3yLgmjAAvs9wzC67lEY33 KAIErXkkLzznoaIPuEgWvMpp4iIHudlocXbs7q05nG6B/CMPlj5azlno3gYkg5wiTXSysw IRaRQ0LcxjKfXMC4NS0cb6C8AOxcYb9vVaJ+9X35xv39EWzU2F0OSxYOPVk/uhN1RHwg9z acUT8f9mxqfH1fzWxoN8mcJJY4LoHiDY8KNtMdBBLgEM4czYCKizZZ3bLkkQ+T2fx8eGDU IWMel/B+b6z79Ea3OX4pE/6wplSdEjJIdndOyi6s7qtEDhW/LxzbS1HWuk/2Xg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iG0TtFtU; dmarc=pass (policy=none) header.from=gmail.com; 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: -8.46 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iG0TtFtU; dmarc=pass (policy=none) header.from=gmail.com; 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: 73C1C1C46C X-Spam-Score: -8.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: gDGCokSzb3jF --Apple-Mail=_D80BB56E-1700-4CCD-AADB-C62B1D5016CF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Dec 4, 2022, at 10:18 AM, Ihor Radchenko = wrote: >=20 > Ihor Radchenko > = writes: >=20 >> Eli Qian > writes: >>=20 >>> Any idea about speeding up clocking in? >>=20 >> Try reducing `org-element--cache-self-verify-frequency' to a smaller >> number. >=20 > 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. FYI here is how reducing that number helped with my clocktable updates = in the order I tested each value. *** org-element--cache-self-verify-frequency 0.01=20 update takes 1:18 (minutes : seconds) *** org-element--cache-self-verify-frequency 0.005 update takes 0:48 *** org-element--cache-self-verify-frequency 0.002 update takes 0:28 *** org-element--cache-self-verify-frequency 0.001 update takes 0:19 *** org-element--cache-self-verify-frequency 0.0005 update takes 0:20 *** org-element--cache-self-verify-frequency 0.03 (default value) update takes 3:29 --Apple-Mail=_D80BB56E-1700-4CCD-AADB-C62B1D5016CF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Dec 4, 2022, at 10:18 AM, Ihor Radchenko <yantar92@posteo.net>= wrote:

Ihor Radchenko <yantar92@posteo.net> writes:

Eli = Qian <eli.q.qian@gmail.com> 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.

FYI= here is how reducing that number helped with my clocktable updates in = the order I tested each value.
*** = org-element--cache-self-verify-frequency 0.01 
update takes 1:18 (minutes : seconds)
*** = org-element--cache-self-verify-frequency 0.005
update= takes 0:48
*** = org-element--cache-self-verify-frequency 0.002
update= takes 0:28
*** = org-element--cache-self-verify-frequency 0.001
update= takes 0:19
*** = org-element--cache-self-verify-frequency 0.0005
update takes 0:20
*** = org-element--cache-self-verify-frequency 0.03 (default value)
update takes 3:29

= --Apple-Mail=_D80BB56E-1700-4CCD-AADB-C62B1D5016CF--