emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <esflists@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [ANN] Agenda speed up
Date: Tue, 29 Aug 2017 09:06:14 +0100	[thread overview]
Message-ID: <87d17ex0g9.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <878ti3srbh.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 28 Aug 2017 16:24:50 +0200")

[-- Attachment #1: Type: text/plain, Size: 4490 bytes --]

On Monday, 28 Aug 2017 at 16:24, Nicolas Goaziou wrote:
> I updated the "wip-agenda-speedup" branch (rebasing needed). It should
> now call `org-agenda-skip' less often. Could you try again using that?

I am not sure what "rebasing needed" means and whether I need to do
anything special.  I did "git pull", "git checkout wip-agenda-speedup"
and "make".

I get the following results now:

Default version:

| org-agenda-list                   |     3 | 25.169072093 | 8.3896906976 |
| org-agenda-redo                   |     2 | 23.729199963 | 11.864599981 |
| org-let                           |     2 | 21.949337096 | 10.974668548 |
| org-agenda-get-day-entries        |   768 | 20.485554483 | 0.0266738990 |
| org-agenda-get-scheduled          |   768 | 13.140805835 | 0.0171104242 |
| org-agenda-later                  |     1 | 12.218471156 | 12.218471156 |
| org-agenda-view-mode-dispatch     |     1 | 11.774425814 | 11.774425814 |
| org-agenda-month-view             |     1 | 11.511459292 | 11.511459292 |
| org-agenda-change-time-span       |     1 | 11.511454414 | 11.511454414 |
| org-agenda-prepare-buffers        |     5 |  6.235086298 | 1.2470172596 |
| org-at-planning-p                 | 38286 | 4.9494982779 | 0.0001292769 |
| org-agenda-prepare                |     3 | 4.6090207959 | 1.5363402653 |
| org-agenda                        |     1 |  3.444506372 |  3.444506372 |
| org-agenda-skip                   | 42757 | 3.0357010199 | 7.099...e-05 |
| org-agenda-get-deadlines          |   768 | 2.9264708689 | 0.0038105089 |
| org-back-to-heading               | 85980 | 2.7460824440 | 3.193...e-05 |
| org-agenda--timestamp-to-absolute | 57206 | 2.7053754779 | 4.729...e-05 |
| org-get-todo-state                | 37819 | 2.5136005120 | 6.646...e-05 |
| org-time-string-to-absolute       | 57206 | 2.2163205409 | 3.874...e-05 |
| org-agenda-get-blocks             |   768 | 2.1708883639 | 0.0028266775 |
| org-inlinetask-in-task-p          | 37309 | 2.0235439769 | 5.423...e-05 |
| org-get-agenda-file-buffer        |   828 | 1.9225380609 | 0.0023219058 |
| org-agenda-to-appt                |     2 |  1.776863076 |  0.888431538 |

New wip-agenda-speedup version:

| org-agenda-list                   |      3 | 31.765126901 | 10.588375633 |
| org-agenda-redo                   |      2 | 30.228140779 | 15.114070389 |
| org-let                           |      2 | 27.439146923 | 13.719573461 |
| org-agenda-day-entries            |    706 | 25.781168166 | 0.0365172353 |
| org-agenda-later                  |      1 | 15.415702875 | 15.415702875 |
| org-agenda-view-mode-dispatch     |      1 | 15.065425835 | 15.065425835 |
| org-agenda-month-view             |      1 | 14.817610403 | 14.817610403 |
| org-agenda-change-time-span       |      1 | 14.817599293 | 14.817599293 |
| org-get-todo-state                | 150556 | 12.739302215 | 8.461...e-05 |
| org-back-to-heading               | 162734 | 11.384205458 | 6.995...e-05 |
| org-agenda-prepare-buffers        |      5 |  6.309316915 | 1.2618633830 |
| org-agenda                        |      1 | 4.5347066179 | 4.5347066179 |
| org-agenda-prepare                |      3 |  4.526386149 |  1.508795383 |
| org-agenda--timestamp-to-absolute |  65195 | 3.6421088350 | 5.586...e-05 |
| org-agenda-to-appt                |      2 |   2.78557571 |  1.392787855 |
| org-time-string-to-absolute       |  65195 | 2.7304234570 | 4.188...e-05 |
| org-indent-initialize-agent       |     11 | 2.5848328029 | 0.2349848002 |
| org-indent-initialize-buffer      |     11 |  2.584644208 | 0.2349676552 |
| org-get-repeat                    | 113814 | 2.2632576760 | 1.988...e-05 |
| org-agenda--all-filtered-data     |      3 |  1.997229961 | 0.6657433203 |
| org-get-agenda-file-buffer        |    862 | 1.9403902009 | 0.0022510327 |
| org-end-of-subtree                |   4920 | 1.7806221550 | 0.0003619150 |
| org-mode                          |     10 |  1.736419648 | 0.1736419648 |
| org-agenda--file-data             |     60 | 1.5899973689 | 0.0264999561 |

Please do not compare the times from these runs with those of
yesterday.  This is a different computer, a much older one but with Xeon
processors so difficult to compare...

(also ignore org version in this email signature as it comes from before
updating the repository)

I hope this helps!

Thanks,
eric

-- 
: Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-573-g09e612

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

  parent reply	other threads:[~2017-08-29  8:06 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-27 16:16 [ANN] Agenda speed up Nicolas Goaziou
2017-08-27 16:22 ` Nicolas Goaziou
2017-08-27 20:05 ` Samuel Wales
2017-08-31 17:17   ` Nicolas Goaziou
2017-08-27 20:53 ` Russell Adams
2017-08-28  8:32   ` Colin Baxter
2017-08-28 10:12 ` Eric S Fraga
2017-08-28 14:24   ` Nicolas Goaziou
2017-08-29  6:52     ` Eric S Fraga
2017-08-29 15:56       ` Robert Horn
2017-08-29  8:06     ` Eric S Fraga [this message]
2017-08-30  9:00       ` Nicolas Goaziou
2017-08-30  9:41         ` Eric S Fraga
2017-08-30 15:00           ` Nicolas Goaziou
2017-08-30 15:37             ` Eric S Fraga
2017-08-30  9:42         ` Eric S Fraga
2017-09-29 20:45 ` Nicolas Goaziou
2017-09-29 20:56   ` Samuel Wales
2017-09-30  8:55     ` Nicolas Goaziou
2017-09-30 19:03       ` Matt Lundin
2017-10-01 17:33         ` Nicolas Goaziou
2017-10-01 17:57           ` Samuel Wales
2017-10-01 17:58             ` Samuel Wales
2017-10-01 22:59             ` Nicolas Goaziou
2017-10-01 23:49           ` Matt Lundin
2017-09-30  3:20   ` Kyle Meyer
2017-10-02 13:41     ` Nicolas Goaziou
2017-10-05 14:48       ` Kyle Meyer
2017-09-30 18:54   ` Matt Lundin
2017-09-30 19:53     ` Matt Lundin
2017-10-01 17:13     ` Nicolas Goaziou
2017-10-02  0:11 ` Matt Lundin
2017-10-02  0:39   ` Samuel Wales
2017-10-02 15:46     ` Nicolas Goaziou
2017-10-02 18:11       ` Marco Wahl
2017-10-03  9:35         ` Nicolas Goaziou
2017-10-03 10:23           ` Marco Wahl
2017-10-02 20:39       ` Samuel Wales
2017-10-03  9:36         ` Nicolas Goaziou
2017-10-03 23:45           ` Samuel Wales
2017-10-04  0:05             ` Samuel Wales
2017-10-02 15:28   ` Nicolas Goaziou

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=87d17ex0g9.fsf@pinto.chemeng.ucl.ac.uk \
    --to=esflists@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).