From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 YHlvAuJ+kGMjVgEAbAwnHQ (envelope-from ) for ; Wed, 07 Dec 2022 12:54:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IFmEAuJ+kGNpYAEA9RJhRA (envelope-from ) for ; Wed, 07 Dec 2022 12:54:10 +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 B86132C613 for ; Wed, 7 Dec 2022 12:54:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2szY-00088t-Lp; Wed, 07 Dec 2022 06:53:36 -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 1p2szW-00083Z-5s for emacs-orgmode@gnu.org; Wed, 07 Dec 2022 06:53:34 -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 1p2szS-0001H5-0a for emacs-orgmode@gnu.org; Wed, 07 Dec 2022 06:53:33 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B3AFB24002B for ; Wed, 7 Dec 2022 12:53:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670414007; bh=7aWcyPZMW1RkXgF/8rjVkDXvQ27z+SEXEWeQj4y6FFA=; h=From:To:Cc:Subject:Date:From; b=PvCjh2cT4b8ufgEeQmBki3E+0UCrxO+rvJ03Mn+NYEzGtx+5Ew2QlV8zTCndts2jv JbICt93n5UKDk6G63KfB/fToiaie4s3PGJtCFn2kqzc7uAbXo0ivEfgBrramSCGvEw y999w7P5cvcq+VFHfS6EHI9tQnMXZ48UnjrzS/MdCyKSgr34h0iOv+lh0GlIyz5WzJ ltujmJmxupGoff/WcIfGxpwkrAvJiKaVpK5H31kadxh2Sw1L6g80GKuN9lYRp4rJEP ua6G5yYnq9ZZtU6ulVnGmTILPfBd6A9Vuwml7BeJ1ocauy5SxeBFy0+v+j4uKt1PPm 6PZphMUm1eSMQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NRwfF5mkXz6tqx; Wed, 7 Dec 2022 12:53:25 +0100 (CET) From: Ihor Radchenko To: Mark Barton Cc: Eli Qian , emacs-orgmode@gnu.org Subject: Re: Clocking in is pretty slow in version 9.6 when the item has a large In-Reply-To: <5DC9610E-5849-4C54-A32B-C8C7A1106012@gmail.com> References: <87a643f4ng.fsf@localhost> <877cz7f2wo.fsf@localhost> <5DC9610E-5849-4C54-A32B-C8C7A1106012@gmail.com> Date: Wed, 07 Dec 2022 11:53:21 +0000 Message-ID: <87h6y7h1la.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: -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, 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=1670414049; 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=Wsi/IMV1g+kIAt9bDs7v3mmVaqyJL6dbA2ccNmfctEg=; b=eWzSk4zhSsH1Bc64C8lVtD/KU/HqVicqSFdoqWcLIuh3raXGMTo2tLEOrmj1jYGXlVMm3v Jz09FRHhyYSTMmImqMl+48zbq33p+AX20De4edP3AEy5C+v0uGegXSwCWrwHAG2J4984SF cO28OH+YaxIZv24NAZ6//sJtNpEUaSTqCTWl0VdcL7rNnRQPiz8WOjroPnLfG4QHcubO0Z NaCoi0qrn97qv2XCNpGvglAYAOEkuSY/AxO0rQb5OxwDK5bJ8ZxKdOWh/RiZQXUoGixctp ICWg35CmuLVk1x9NN/J2DAoW3SIC5pNO/UhmMRGOLKPQcOpcxhXj7sSSrOTakw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670414049; a=rsa-sha256; cv=none; b=GIQuAL1Wp3J6Ho4K6fg5Giz3/HfHoj2Cg2Tw+Ozrnx3iGVFVJK2VlVsEPti55BAXFQH6nk /C0QCu+EdtaTUQKxbW8UDHp5Q8AW6NECZ4vN6y2hP4qFDCg3yxC8X7BNDccsMDVEx1aO99 e1fSUK5BaTafuT/wcpMyWlViRNIM2Y071/+tEQmt9gyVWmhYhbAYfLJAvD9+6USv/kZh7A aoftNJFhyXo8HiL4gRagqfoqM/OiLXdz0ubOpOhBHUAMXbg5u7sxEFYafxhWn5DM0fHUdD j9qLHzkbTMxgkYbC6EzXnxEUxfzFfGw9rpdBi3Rzo8lib4nrXFXfU06NyyXEaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PvCjh2cT; 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: -3.46 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PvCjh2cT; 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: B86132C613 X-Spam-Score: -3.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2sgPg22aZWQP Mark Barton writes: > 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 Thanks for the data! What about setting org-element--cache-self-verify to nil? That's what we will do once we finish the test. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at