emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* batch archiving is too slow for my computer ... is it really intensive?
@ 2021-02-02 22:38 Samuel Wales
  0 siblings, 0 replies; only message in thread
From: Samuel Wales @ 2021-02-02 22:38 UTC (permalink / raw)
  To: emacs-orgmode

maint.

i have an old computer, which usually has no problems if i am careful,
except org is recently somewhat slower.

with agenda batch archiving, however, even for just a few entries, the
cpu overheats.

the cpu never gets above 28% in a dual core in gkrellm, meaning that
only 1/4 of total capacity in a dual core is used.  i don't know why
that makes it overheat.

here is a profiler report for archiving 2 entries.  then 2 entries again.

is this kind of a normal profiler report?

thanks.

- command-execute                                         297,963,432  99%
 - call-interactively                                     297,963,432  99%
  - funcall-interactively                                 297,963,432  99%
   - org-agenda-bulk-action                               273,550,028  91%
    - org-agenda-archive                                  272,853,572  91%
     - funcall-interactively                              272,853,508  91%
      - org-agenda-archive-with                           272,853,508  91%
       - org-archive-subtree                              272,828,828  91%
        - org-show-all                                    262,058,419  87%
         - org-cycle-hide-drawers                         260,230,547  87%
          - #<compiled 0xa790a9>                          260,226,323  87%
           - org-element-at-point                         254,156,375  85%
            - org-element--parse-to                       251,281,887  84%
             - org-element--current-element               247,748,793  83%
              - org-element-planning-parser                13,355,147   4%
               - org-element-timestamp-parser              11,180,859   3%
                - org-parse-time-string                     5,781,180   1%
                   string-to-number                             3,726   0%
                  match-string-no-properties                2,206,416   0%
                  match-string                                  1,863   0%
              - org-at-heading-p                              841,472   0%
                 outline-on-heading-p                         106,496   0%
              + org-element--list-struct                      528,710   0%
                org-element-property-drawer-parser            414,880   0%
                org-element--collect-affiliated-keywords       348,220   0%
              + org-element-drawer-parser                     340,004   0%
                org-element-paragraph-parser                  296,720   0%
                org-element-plain-list-parser                 155,040   0%
                org-element-item-parser                        18,496   0%
                org-element-comment-parser                      8,192   0%
               outline-previous-heading                       106,574   0%
            + org-at-heading-p                              1,374,384   0%
           + org-hide-drawer-toggle                         5,006,924   1%
         + org-flag-region                                  1,827,872   0%
        + find-file-noselect                                9,965,693   3%
        + org-entry-put                                       233,830   0%
        + org-get-category                                    118,306   0%
        + org-reveal                                           78,080   0%
        + org-update-statistics-cookies                        65,870   0%
        + org-get-outline-path                                 54,804   0%
        + org-entry-get                                        50,410   0%
        + org-paste-subtree                                    32,604   0%
        + org-cut-subtree                                      27,552   0%
        + org-archive--compute-location                        25,772   0%
        + org-copy-subtree                                     21,428   0%
          abbreviate-file-name                                 16,432   0%
          org-string-nw-p                                      12,524   0%
          do-after-load-evaluation                             11,682   0%
        + jit-lock-after-change                                 8,696   0%
        + org-get-tags                                          5,408   0%
          org-up-heading-safe                                   4,096   0%
        + substitute-env-in-file-name                           1,154   0%
        + find-buffer-visiting                                  1,048   0%
        + org-back-to-heading                                   1,024   0%
       + org-remove-subtree-entries-from-agenda                 8,240   0%
         #<compiled 0xba9775>                                   1,604   0%
    + org-unlogged-message                                    693,000   0%
    + read-char-exclusive                                       1,456   0%
   + save-some-buffers                                     15,634,438   5%
   + ido-hacks-execute-extended-command                     8,770,778   2%
+ tooltip-show-help-non-mode                                   25,588   0%
  mouse-fixup-help-message                                     17,960   0%
+ redisplay_internal (C function)                              11,170   0%
+ timer-event-handler                                           3,123   0%
  ...                                                               0   0%


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-02 22:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-02 22:38 batch archiving is too slow for my computer ... is it really intensive? Samuel Wales

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).