From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug?/performance issue in org-icalendar-export-current-agenda Date: Tue, 26 Aug 2014 21:16:38 +0200 Message-ID: <87zjernjs9.fsf@nicolasgoaziou.fr> References: <871ts3du98.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMMDt-0005th-1y for emacs-orgmode@gnu.org; Tue, 26 Aug 2014 15:16:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMMDj-0001zq-3l for emacs-orgmode@gnu.org; Tue, 26 Aug 2014 15:16:01 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:45153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMMDi-0001zb-Ti for emacs-orgmode@gnu.org; Tue, 26 Aug 2014 15:15:55 -0400 In-Reply-To: <871ts3du98.fsf@berkeley.edu> (Richard Lawrence's message of "Tue, 26 Aug 2014 10:40:35 -0700") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard Lawrence Cc: emacs-orgmode@gnu.org Hello, Richard Lawrence writes: > I pulled from master recently (for the first time since the spring), and > since the update, I have noticed a performance/lockup issue. The > problem occurs when exporting an agenda view to iCalendar format. > > My Emacs version is 23.4.1 and my Org version is "8.3beta" (I am > currently on commit 767895...) > > I have traced the problem down to a call to > `org-icalendar-export-current-agenda', though I don't know if the > problem is in this function or in another function called by it. > Somewhere during the execution of this function, Emacs goes to 100% CPU > usage (on one core) and memory usage starts growing until I kill the > process. Interestingly, I introduced a patch that should speed up this function yesterday. You may want to update Org (the patch landed after 767895) and try again. If it is still suspiciously slow, please use profiler (`profiler-start') and report the results here. Regards, -- Nicolas Goaziou