From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: notifications for todo items Date: Sun, 26 Feb 2012 10:33:10 +0100 Message-ID: <878vjqgcrt.fsf@gmail.com> References: <87hayixwu8.fsf@micropit.couberia.bzh> <7623.1329960485@alphaville> <87vcmyvtcu.fsf@micropit.couberia.bzh> <12871.1330128535@alphaville> <87k43a5ucg.fsf@micropit.couberia.bzh> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1aW1-0008IV-Db for emacs-orgmode@gnu.org; Sun, 26 Feb 2012 04:35:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1aVu-0001Wa-E0 for emacs-orgmode@gnu.org; Sun, 26 Feb 2012 04:35:37 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:34697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1aVu-0001WU-7T for emacs-orgmode@gnu.org; Sun, 26 Feb 2012 04:35:30 -0500 Received: by wgbdt13 with SMTP id dt13so2496711wgb.30 for ; Sun, 26 Feb 2012 01:35:29 -0800 (PST) In-Reply-To: <87k43a5ucg.fsf@micropit.couberia.bzh> ("Peter \=\?utf-8\?Q\?M\?\= \=\?utf-8\?Q\?\=C3\=BCnster\=22's\?\= message of "Sun, 26 Feb 2012 01:09:03 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Peter =?utf-8?Q?M=C3=BCnster?= Cc: emacs-orgmode@gnu.org Hello, Peter M=C3=BCnster writes: > On Sat, Feb 25 2012, Nick Dokos wrote: > >> A quick first impression: orgntf-process seems expensive. It seems >> to take 100% of one core (I've got a quad-core processor) for three or >> four seconds every fifty seconds. Unfortunately, the core is the same one >> that's running emacs, so emacs stops responding for those three or four >> seconds. I have disabled org-notify for now. > > How many lines do you have in your org-files? > (I've about 200 and execution time is about 100ms.) > > I call now "(org-element-parse-buffer 'heading)", I hope it's faster for > you. Is it faster, when the file is byte-compiled? I didn't look at the code but you probably mean (org-element-parse-buffer 'headline) if you're only interested in headline data. Regards, --=20 Nicolas Goaziou