emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Ridiculously long (2 minutes) startup time for org agenda
Date: Mon, 19 Feb 2018 14:49:23 -0500	[thread overview]
Message-ID: <87tvucahfg.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 54c5ef75-acac-22c6-9d6f-9b1399ce281d@xiangji.me

JI Xiang <hi@xiangji.me> 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

  parent reply	other threads:[~2018-02-19 19:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-18 12:38 Ridiculously long (2 minutes) startup time for org agenda JI Xiang
2018-02-18 21:33 ` Thierry Banel
2018-02-19 19:49 ` Nick Dokos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-02-19  1:00 JI Xiang
2018-02-26 16:29 ` Daniel Clemente
2018-03-12 12:29   ` JI Xiang

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=87tvucahfg.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.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 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).