From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 iDm+AvmdT2PRWAEAbAwnHQ (envelope-from ) for ; Wed, 19 Oct 2022 08:49:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yG7qAfmdT2NcJQEAG6o9tA (envelope-from ) for ; Wed, 19 Oct 2022 08:49:29 +0200 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 8F39C82DA for ; Wed, 19 Oct 2022 08:49:28 +0200 (CEST) Received: from localhost ([::1]:45900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ol2tK-0004Vj-Ox for larch@yhetil.org; Wed, 19 Oct 2022 02:49:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol2mq-0004Sd-8U for emacs-orgmode@gnu.org; Wed, 19 Oct 2022 02:42:48 -0400 Received: from mout01.posteo.de ([185.67.36.65]:51299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol2mm-0002Du-0n for emacs-orgmode@gnu.org; Wed, 19 Oct 2022 02:42:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 13E85240026 for ; Wed, 19 Oct 2022 08:42:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666161757; bh=440y/n+j4X/du+oIEACgB0LRNCw4wkf1VRQ/YkGUBIk=; h=From:To:Cc:Subject:Date:From; b=XEz+Zlyt+I7dqrcphCTWGlJ3c2S/6HvTXDXhdqwp8XjDeGh0wEaCTHOThgZHAcqgu NCJYH6NhdJ2C8EbmVXjsoj0kcSKJNqWKUOZ3Wpq0Sot+dE4GbrBcw3MQucn6OpGL/O A2idFvTURw8BSIzqkXy349Ark9po48J7HqOGnyaPjFYG2h2FkrTUkebFNcaw76ozLj STIHQged9Pn6FFlQqNojBfe/gX+vfWZCMn6VQ0w9TqCibmlaWV4pqijxIghs6o/ITF f6fm0VMVSLs95e930TAx1kaItE+6Xc5cfo1+Ct/aooG2uoMcNOQK7PGezvjDV0MUf3 cq/7NMQ/9mZzQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Msh4C5vw9z6tnm; Wed, 19 Oct 2022 08:42:35 +0200 (CEST) From: Ihor Radchenko To: Daniel Ortmann Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] recent slow down in agenda's clock table report (and with first clock-in) [9.6-pre (release_9.5.5-995-g4b9aef @ /home/dortmann/src/git-org-mode/lisp/)] In-Reply-To: <1db2468c-a18a-c2ce-de7e-8161919c4cca@oracle.com> References: <1db2468c-a18a-c2ce-de7e-8161919c4cca@oracle.com> Date: Wed, 19 Oct 2022 06:43:21 +0000 Message-ID: <87a65scnzq.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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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" 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=1666162168; 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=OXuXt2pb5M+sRcyXN41z4hZVlajaAdC3i/C5qyKynYs=; b=qtXgMrJ+Zc+jVKLCGse/vEIqMqwx5AVVtv0PMdkzsHY2SPHEKSrutBLiBraFRYL6sefr04 9ZXll3ukNu56Xcqofl/4D7T/HjidnRjQ3cq/laW5IF8wJQg/8LwC/K+cpBMi7K3HHHPTTq HG3FzZytCmdKAMC2Uq6vn8Xzty/bhHSpt+Weina2eszeAgc0E9YpZ92xlboN+hHdFjfYI6 Tw6COjMlphKJHebYqV4VfGMUx43U5Nq7GlhAGySvtF3BhSpw+Mf8rKDKvvMct39aJVQCHe 2twbl6pClZqQNWexsRFkafa7xsHuPiP3xVrPVx7cACJBrzwHSQdfe0LdHmPXUg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666162168; a=rsa-sha256; cv=none; b=UX40LpC7M76BL2wXuptyebZekJNunESZno3JetX6sdB9s5etUd0WjP8aPBibjjKekd8N+S OIwPJY5qVCwwLAZXDOxBnbFl5L7bmWGoFN1i3pofv3JKkuWclxHV8dwolQ5UX3y2UX6UGv K8RUa3CYdAYW8KljRElcsiY2OkXthNxsk2y1N8bc3HD0GGFtbzH4jAo89TQa1UXAsk3+dR gzubQGetUWifEpB0m3T9PZBCQjgj7zfHK+WQkYJQJoVra8Y+4Bf9vriVxUqkoA1hSv/82d yiKNektgFiWCqNxA8mwGh+rZ1jcMiZ7u/j+2RlNDlJRHvSLpPYCm/Gl/K1eWJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XEz+Zlyt; 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: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XEz+Zlyt; 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: 8F39C82DA X-Spam-Score: -1.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: VqNVmDDLNqQN Daniel Ortmann writes: > Sometime during the past week I have been surprised by a sudden jump in > load time when clocking into the first task in the agenda. Today, while > tracking down that performance change, the problem "disappeared"! The > first clockin behaved normally. > > But! Pressing 'R' in the daily agenda took a long time. > > I ran profile-start and then pressed R. > Here are the cpu and memory reports. > The memory report seems odd to me. > Thoughts? > > 19250 58% + ... > 13660 41% + command-execute > 35 0% + timer-event-handler > > 3,754,109,912 99% + command-execute > 168,717 0% + timer-event-handler > 19,138 0% + redisplay_internal (C function) > 0 0% ... Thanks for reporting. Could you please run the profiler again and then save the reports to file using M-x profiler-report-write-profile? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at