From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gijs Hillenius Subject: Re: org-mode using 100 CPU, weird note, or just too many of them? Date: Tue, 15 Nov 2011 10:00:16 +0100 Message-ID: <87obwd4v6n.fsf@hillenius.net> References: <87vcql4w6i.fsf@hillenius.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQF6r-0000lr-CD for emacs-orgmode@gnu.org; Tue, 15 Nov 2011 04:15:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQF6m-0006Ou-Kc for emacs-orgmode@gnu.org; Tue, 15 Nov 2011 04:15:17 -0500 Received: from lo.gmane.org ([80.91.229.12]:40432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQF6m-0006Od-4w for emacs-orgmode@gnu.org; Tue, 15 Nov 2011 04:15:12 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RQF6k-0000QY-16 for emacs-orgmode@gnu.org; Tue, 15 Nov 2011 10:15:10 +0100 Received: from 109.130.77.53 ([109.130.77.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Nov 2011 10:15:10 +0100 Received: from gijs by 109.130.77.53 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Nov 2011 10:15:10 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Catching the hints from the current thread on the org-mode list, "slow agenda view and scrolling through headlines", here is the result of M-x elp-instrument-package RET org RET and opening the org file M-x elp-results RET And, using Org-mode version 7.7 on GNU Emacs 24.0.91.1 (debian snapshot) org-cycle 5 0.0817489999 0.0163497999 org-cycle-internal-local 4 0.068494 0.0171235 org-mode 1 0.023933 0.023933 org-end-of-subtree 11 0.021776 0.0019796363 org-optimize-window-after-visibility-change 3 0.02153 0.0071766666 org-subtree-end-visible-p 2 0.0214859999 0.0107429999 org-set-startup-visibility 1 0.016646 0.016646 org-cycle-internal-global 1 0.011137 0.011137 org-cycle-show-empty-lines 4 0.009353 0.00233825 org-overview 1 0.008841 0.008841 org-outline-level 1003 0.0037509999 3.739...e-06 org-cycle-hide-archived-subtrees 4 0.003287 0.00082175 org-update-radio-target-regexp 1 0.002786 0.002786 org-all-targets 1 0.002765 0.002765 org-activate-footnote-links 16 0.0025459999 0.0001591249 org-footnote-next-reference-or-definition 16 0.0023810000 0.0001488125 org-cycle-hide-drawers 5 0.0022270000 0.0004454000 org-footnote-at-reference-p 2 0.002026 0.001013 org-set-regexps-and-options 1 0.001967 0.001967 org-footnote-in-valid-context-p 2 0.001715 0.0008575 org-babel-hide-all-hashes 1 0.001583 0.001583 org-set-visibility-according-to-property 1 0.001479 0.001479 org-activate-dates 46 0.0014550000 3.163...e-05 org-in-block-p 2 0.00145 0.000725 org-in-regexps-block-p 18 0.001324 7.355...e-05 org-activate-plain-links 20 0.001147 5.735e-05 org-install-agenda-files-menu 1 0.000676 0.000676 org-do-emphasis-faces 15 0.000629 4.193...e-05 org-fontify-meta-lines-and-blocks 15 0.000491 3.273...e-05 org-at-regexp-p 18 0.000469 2.605...e-05 org-hide-block-toggle-maybe 5 0.0004140000 8.280...e-05 org-back-to-heading 16 0.0004030000 2.518...e-05 org-fontify-meta-lines-and-blocks-1 15 0.0003820000 2.546...e-05 org-at-item-p 14 0.000355 2.535...e-05 org-agenda-files 1 0.000328 0.000328 org-activate-bracket-links 17 0.0003030000 1.782...e-05 org-activate-tags 15 0.000288 1.92e-05 org-in-regexp 8 0.000245 3.0625e-05 org-unfontify-region 14 0.000242 1.728...e-05 org-hide-archived-subtrees 3 0.0002109999 7.033...e-05 org-cycle-item-indentation 5 0.0002070000 4.140...e-05 org-get-level-face 102 0.0001989999 1.950...e-06 org-babel-hide-result-toggle-maybe 5 0.000184 3.68e-05 org-flag-drawer 7 0.0001809999 2.585...e-05 org-activate-angle-links 14 0.0001739999 1.242...e-05 org-remove-flyspell-overlays-in 44 0.0001589999 3.613...e-06 org-list-search-forward 3 0.000158 5.266...e-05 org-activate-code 14 0.0001459999 1.042...e-05 org-show-entry 1 0.000123 0.000123 org-font-lock-add-priority-faces 14 0.0001159999 8.285...e-06 org-list-search-generic 3 0.0001149999 3.833...e-05 org-cycle-level 5 0.000102 2.04e-05 org-in-verbatim-emphasis 2 9.6e-05 4.8e-05 org-inside-latex-macro-p 2 8.8e-05 4.4e-05 org-item-re 18 8.599...e-05 4.777...e-06 org-at-heading-p 4 8.1e-05 2.025e-05 org-file-menu-entry 28 6.400...e-05 2.285...e-06 org-hide-wide-columns 14 5.9e-05 4.214...e-06 org-at-table-p 5 5.8e-05 1.16e-05 org-remove-font-lock-display-properties 14 4.499...e-05 3.214...e-06 org-in-indented-comment-line 2 3.9e-05 1.95e-05 org-point-at-end-of-empty-headline 5 3.500...e-05 7.000...e-06 org-extract-log-state-settings 7 3.4e-05 4.857...e-06 org-in-commented-line 2 3.1e-05 1.55e-05 org-fontify-entities 14 2.7e-05 1.928...e-06 org-activate-target-links 14 2.5e-05 1.785...e-06 org-do-latex-and-special-faces 14 2.5e-05 1.785...e-06 org-font-lock-hook 14 2.4e-05 1.714...e-06 org-raise-scripts 14 2.4e-05 1.714...e-06 org-font-lock-add-tag-faces 14 2.2e-05 1.571...e-06 org-set-autofill-regexps 1 2.2e-05 2.2e-05 org-load-modules-maybe 6 2e-05 3.333...e-06 org-add-hook 4 1.600...e-05 4.000...e-06 org-assign-fast-keys 1 1.6e-05 1.6e-05 org-src-native-tab-command-maybe 5 1.499...e-05 2.999...e-06 org-get-todo-face 1 1.2e-05 1.2e-05 org-remove-keyword-keys 3 1e-05 3.333...e-06 org-make-options-regexp 1 1e-05 1e-05 org-set-font-lock-defaults 1 1e-05 1e-05 org-trim 1 6e-06 6e-06 org-split-string 1 5e-06 5e-06 org-delete-all 1 4e-06 4e-06 org-get-checkbox-statistics-face 1 4e-06 4e-06 org-compute-latex-and-specials-regexp 1 3e-06 3e-06 org-restart-font-lock 1 2e-06 2e-06 org-face-from-face-or-color 1 2e-06 2e-06 org-make-target-link-regexp 1 2e-06 2e-06 org-babel-result-hide-spec 1 2e-06 2e-06