emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Peter Münster" <pmlists@free.fr>
To: emacs-orgmode@gnu.org
Subject: optimisation of org-notify (was: notifications for todo items)
Date: Sun, 26 Feb 2012 15:06:31 +0100	[thread overview]
Message-ID: <878vjp6654.fsf_-_@micropit.couberia.bzh> (raw)
In-Reply-To: 18201.1330232699@alphaville

On Sun, Feb 26 2012, Nick Dokos wrote:

> So orgntf-todo-list takes the lion's share of the time but
> most of it is the 15 calls to org-element-parse-buffer

Ok, then I could process only one file at a time. This would divide the
processing time by 15, in your case. But perhaps others would have the
7000 lines in one file only, then it would not work...
So, it is worth the effort?

Thanks for the profiling!
-- 
           Peter

  reply	other threads:[~2012-02-26 14:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-22 23:38 notifications for todo items Peter Münster
2012-02-23  1:28 ` Nick Dokos
2012-02-23  8:36   ` Peter Münster
2012-02-23  9:06     ` Nick Dokos
2012-02-25  0:08     ` Nick Dokos
2012-02-26  0:09       ` Peter Münster
2012-02-26  2:45         ` Nick Dokos
2012-02-26  5:04         ` Nick Dokos
2012-02-26 14:06           ` Peter Münster [this message]
2012-03-04 23:37             ` optimisation of org-notify Peter Münster
2012-02-26  9:33         ` notifications for todo items Nicolas Goaziou
2012-02-26 14:07           ` Peter Münster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878vjp6654.fsf_-_@micropit.couberia.bzh \
    --to=pmlists@free.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).