From: Carsten Dominik <carsten.dominik@gmail.com>
To: buckbrody@gmail.com
Cc: Bernt Hansen <bernt@norang.ca>,
emacs-orgmode <emacs-orgmode@gnu.org>,
"Daniel J. Sinder" <daniel@sindercity.com>
Subject: Re: Re: remember template is slow
Date: Tue, 13 Jul 2010 20:53:28 +0200 [thread overview]
Message-ID: <AC819D42-2E7F-43DC-A9F5-A8AE8615DAD6@gmail.com> (raw)
In-Reply-To: <AANLkTikCRHOPNVrI0C5ygCx6TUP9ApUTxvzCC3B6zWru@mail.gmail.com>
On Jul 13, 2010, at 5:21 PM, Buck Brody wrote:
> ("~/Documents/org/outline.org")
Well, then I have no ideas what might make this so slow - it seems that
this call takes up all of the time.
The only further recommendation I would have is to do use uncompiled
code
with
C-u M-x org-reload RET
and then do
M-x debug-on-entry RET org-agenda-files RET
If you then call a remember command, Emacs will stop in the debugger
in that function. The you could step through using "d" and just watch
if you see which particular form inside that function eats up the time.
- Carsten
>
> On Tue, Jul 13, 2010 at 4:06 AM, Carsten Dominik
> <carsten.dominik@gmail.com> wrote:
>> Hi Buck,
>>
>> what is the value of the variable org-agenda-files in your setup?
>>
>> Thanks.
>>
>> - Carsten
>>
>> On Jul 12, 2010, at 6:18 PM, Buck Brody wrote:
>>
>>> Bernt,
>>>
>>> Here are the results:
>>>
>>> org-remember 1
>>> 2.497 2.497
>>> org-do-remember 1
>>> 2.496 2.496
>>> org-remember-apply-template 1
>>> 2.4939999999 2.4939999999
>>> org-mode 1
>>> 2.259 2.259
>>> org-install-agenda-files-menu 1
>>> 2.258 2.258
>>> org-agenda-files 1
>>> 2.257 2.257
>>> org-select-remember-template 1
>>> 0.229 0.229
>>> org-remember-handler 1
>>> 0.001 0.001
>>> org-set-regexps-and-options 1
>>> 0.001 0.001
>>> org-remember-finalize 1
>>> 0.001 0.001
>>> org-fix-tags-on-the-fly 2
>>> 0.001 0.0005
>>> org-delete-backward-char 1
>>> 0.001 0.001
>>> org-remember-kill 1
>>> 0.001 0.001
>>> org-set-font-lock-defaults 1
>>> 0.001 0.001
>>> org-hide-wide-columns 2
>>> 0.001 0.0005
>>> org-align-tags-here 2
>>> 0.001 0.0005
>>> On Sat, Jul 10, 2010 at 5:49 AM, Bernt Hansen <bernt@norang.ca>
>>> wrote:
>>>>
>>>> "Daniel J. Sinder" <daniel@sindercity.com> writes:
>>>>
>>>>> On Wed, Jul 7, 2010 at 9:30 AM, Buck Brody <buckbrody@gmail.com>
>>>>> wrote:
>>>>>
>>>>> I'm finding that my remember templates are slow to load.
>>>>> I've got a
>>>>> lag of about three to four
>>>>> seconds. I know that doesn't sound like much, but it's kind
>>>>> of puts
>>>>> a kink in the workflow. I
>>>>> use GNU emacs on Windows. I also have cygwin installed, and
>>>>> I have
>>>>> noticed that the problem
>>>>> doesn't occur when using cygwin. Any ideas?
>>>>>
>>>>> For what it's worth, I've also had this problem for a while now.
>>>>> However, I *do* use emacs w/
>>>>> cygwin:
>>>>> Windows XP (w/ Cygwin)
>>>>> GNU Emacs 23.2.1
>>>>> Org-mode version 6.36trans (release_6.36.453.g0cd4)
>>>>>
>>>>> I suspect (for no particular reason other than disdain for
>>>>> Windows) that
>>>>> it is related to poor file
>>>>> system (NTFS) access speeds. For example, maybe org is trying
>>>>> to open
>>>>> several files to look for
>>>>> TODO keywords and/or tags?
>>>>
>>>> You may want to try profiling the code as described by Carsten in
>>>> the
>>>> following post:
>>>>
>>>> http://thread.gmane.org/gmane.emacs.orgmode/13182
>>>>
>>>> That may provide additional information to show exactly where the
>>>> slowdown is taking place.
>>>>
>>>> Regards,
>>>> Bernt
>>>
>>> _______________________________________________
>>> Emacs-orgmode mailing list
>>> Please use `Reply All' to send replies to the list.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>> - Carsten
>>
>>
>>
>>
- Carsten
prev parent reply other threads:[~2010-07-13 18:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-07 16:30 remember template is slow Buck Brody
2010-07-08 11:01 ` Giovanni Ridolfi
2010-07-08 15:13 ` Buck Brody
2010-07-09 21:11 ` Daniel J. Sinder
2010-07-09 21:44 ` Richard Riley
2010-07-10 3:47 ` Daniel J. Sinder
2010-07-10 7:16 ` Richard Riley
2010-07-10 12:49 ` Bernt Hansen
2010-07-12 16:18 ` Buck Brody
2010-07-13 11:06 ` Carsten Dominik
2010-07-13 15:21 ` Buck Brody
2010-07-13 18:53 ` Carsten Dominik [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AC819D42-2E7F-43DC-A9F5-A8AE8615DAD6@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=bernt@norang.ca \
--cc=buckbrody@gmail.com \
--cc=daniel@sindercity.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.