From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Ridiculously long (2 minutes) startup time for org agenda Date: Mon, 19 Feb 2018 14:49:23 -0500 Message-ID: <87tvucahfg.fsf@alphaville.usersys.redhat.com> References: <54c5ef75-acac-22c6-9d6f-9b1399ce281d@xiangji.me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enrRr-0002za-Ey for emacs-orgmode@gnu.org; Mon, 19 Feb 2018 14:50:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enrRo-0001pw-Cm for emacs-orgmode@gnu.org; Mon, 19 Feb 2018 14:50:03 -0500 Received: from [195.159.176.226] (port=51739 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1enrRo-0001n1-5b for emacs-orgmode@gnu.org; Mon, 19 Feb 2018 14:50:00 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1enrPK-000239-LM for emacs-orgmode@gnu.org; Mon, 19 Feb 2018 20:47:26 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org JI Xiang writes: >     Function Name, Call Count, Elapsed Time, Average Time > >     org-agenda 1           116.6048159   116.6048159 >     org-agenda-list 1           116.29427357  116.29427357 >     org-agenda-prepare 1           109.15345470  109.15345470 >     org-agenda-prepare-buffers 1           108.98258905  108.98258905 > ... >     org-agenda-ndays-to-span 2           1.174e-06     5.87e-07 >     org-agenda-mark-clocking-task 1           7.16e-07      7.16e-07 >     org-agenda-use-sticky-p 1           5.02e-07      5.02e-07 > ``` > All the functions listed in the profile have an org-agenda prefix, presumably because that's what you specified to elp. Can you repeat the profile but specify an org prefix, so that *all* org functions are profiled? -- Nick