From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: [ANN] Agenda speed up Date: Tue, 3 Oct 2017 16:45:11 -0700 Message-ID: References: <87h8wtugst.fsf@nicolasgoaziou.fr> <87k20ecst9.fsf@fastmail.fm> <874lrhimbz.fsf@nicolasgoaziou.fr> <87infwh8u6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzWsF-0007MF-TV for emacs-orgmode@gnu.org; Tue, 03 Oct 2017 19:45:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzWsD-0006lP-PA for emacs-orgmode@gnu.org; Tue, 03 Oct 2017 19:45:16 -0400 Received: from mail-io0-x229.google.com ([2607:f8b0:4001:c06::229]:53588) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzWsD-0006kU-I6 for emacs-orgmode@gnu.org; Tue, 03 Oct 2017 19:45:13 -0400 Received: by mail-io0-x229.google.com with SMTP id q11so9097356ioe.10 for ; Tue, 03 Oct 2017 16:45:12 -0700 (PDT) In-Reply-To: <87infwh8u6.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: Org Mode List On 10/3/17, Nicolas Goaziou wrote: >> org-element-at-point 1104 >> 17.213785437 0.0155921969 >> org-element--parse-to 1104 >> 17.098407592 0.0154876880 >> org-element--current-element 69978 >> 15.421312201 0.0002203737 >> org-at-clock-log-p 12745 >> 12.127817233 0.0009515745 > > Fixed. Could you test it again? still much slower. check out the filenames for the times. --- "elp-results--(14.120262055 14 0.868587649)--release_9.1.1-114-gf5bc56" +++ "elp-results--(2.823281612 3 0.13669316199999998)--release_9.1.1-99-g7a2b64" @@ -1,85 +1,85 @@ -org-at-planning-p 19438 1.7517455880 9.011...e-05 -org-agenda-prepare-buffers 1 1.280357753 1.280357753 -org-refresh-category-properties 8 0.5655261619 0.0706907702 -org-back-to-heading 3831 0.4543286779 0.0001185927 -org-parse-time-string 2739 0.3607386119 0.0001317044 -org-matcher-time 195 0.3364286490 0.0017252751 -org-2ft 192 0.3350386229 0.0017449928 -org-end-of-subtree 197 0.2835889550 0.0014395378 -org-refresh-stats-properties 8 0.216994121 0.0271242651 -org-entry-get 1001 0.1716580229 0.0001714865 -org-entry-properties 994 0.1433018570 0.0001441668 -org-refresh-properties 16 0.130269807 0.0081418629 -org-closest-date 1000 0.1084333750 0.0001084333 -org-at-property-p 121 0.1060563869 0.0008764990 -org-get-property-block 128 0.092064553 0.0007192543 -org-refresh-effort-properties 8 0.071788969 0.0089736211 -org-get-priority 312 0.0678388049 0.0002174320 -org-set-regexps-and-options 8 0.0584633600 0.0073079200 -org--setup-collect-keywords 8 0.057983882 0.0072479852 -org-before-first-heading-p 215 0.023083193 0.0001073636 -org-today 1985 0.0227823760 1.147...e-05 -org-in-commented-heading-p 80 0.0167247850 0.0002090598 -org-outline-level 197 0.0147668000 7.495...e-05 -org-get-tags-at 321 0.0123168869 3.837...e-05 -org-heading-components 80 0.0086148070 0.0001076850 -org-activate-links 35 0.0079194529 0.0002262700 -org-get-agenda-file-buffer 32 0.005901701 0.0001844281 -org-find-base-buffer-visiting 32 0.0057470019 0.0001795938 -org-get-limited-outline-regexp 2009 0.0046851680 2.332...e-06 -org-date-to-gregorian 544 0.0042989290 7.902...e-06 -org-add-props 981 0.0042024999 4.283...e-06 -org-refresh-property 7 0.003612339 0.0005160484 -org--property-local-values 7 0.0034815799 0.0004973685 -org-element-at-point 2 0.003142827 0.0015714135 -org-plist-delete 310 0.0022100709 7.129...e-06 -org-days-to-iso-week 2 0.0021368679 0.0010684339 -org-get-wdays 966 0.0021314989 2.206...e-06 -org-element-context 1 0.001709069 0.001709069 -org-element--parse-to 1 0.001696425 0.001696425 -org-get-todo-face 310 0.0016314150 5.262...e-06 -org-get-category 321 0.0013590150 4.233...e-06 -org-element-link-parser 34 0.001083772 3.187...e-05 -org-element-headline-parser 1 0.001021417 0.001021417 -org-eval 325 0.0009354789 2.878...e-06 -org-check-agenda-file 16 0.000722695 4.516...e-05 -org-defkey 141 0.0006374779 4.521...e-06 -org-font-lock-add-tag-faces 1 0.00060773 0.00060773 -org-in-src-block-p 47 0.000511424 1.088...e-05 -org-element--current-element 3 0.000489721 0.0001632403 -org-agenda-files 3 0.000378044 0.0001260146 -org-reduced-level 402 0.0003425939 8.522...e-07 -org-diary-sexp-entry 8 0.000293875 3.673...e-05 -org-make-options-regexp 8 0.0002602499 3.253...e-05 -org-element--object-lex 1 0.00022519 0.00022519 -org-time-string-to-seconds 10 0.0002250960 2.250...e-05 -org-link-get-parameter 233 0.0002078269 8.919...e-07 -org-match-line 51 0.0002074589 4.067...e-06 -org-element-timestamp-parser 2 0.000183573 9.17865e-05 -org-time-string-to-time 10 0.000180712 1.80712e-05 -org-do-emphasis-faces 1 0.000178509 0.000178509 -org-split-string 25 0.0001595440 6.381...e-06 -org-element-clock-parser 1 0.000159325 0.000159325 -org-element-drawer-parser 1 0.000149764 0.000149764 -org-face-from-face-or-color 377 0.0001497409 3.971...e-07 -org-at-heading-p 6 0.000130681 2.178...e-05 -org-link-expand-abbrev 29 0.000126611 4.365...e-06 -org-duration-to-minutes 7 0.0001055150 1.507...e-05 -org-element--get-node-properties 1 6.9899e-05 6.9899e-05 -org-element--get-time-properties 1 6.3057e-05 6.3057e-05 -org-element-property-drawer-parser 1 5.853e-05 5.853e-05 -org-tag-alist-to-groups 8 5.0166e-05 6.27075e-06 -org-element-property 104 4.982e-05 4.790...e-07 -org-base-buffer 32 4.267...e-05 1.333...e-06 -org-key 141 4.161...e-05 2.951...e-07 -org-get-tag-face 3 2.522...e-05 8.407...e-06 -org-remove-flyspell-overlays-in 35 1.793...e-05 5.125...e-07 -org-element--collect-affiliated-keywords 1 1.512e-05 1.512e-05 -org-element-footnote-reference-parser 1 1.3428e-05 1.3428e-05 -org-property-inherit-p 16 1.063...e-05 6.649...e-07 -org-time-from-absolute 2 1.0639e-05 5.3195e-06 -org-file-menu-entry 8 9.373...e-06 1.171...e-06 -org-not-nil 14 7.278...e-06 5.198...e-07 -org-git-version 1 1.823e-06 1.823e-06 -org-element--cache-put 3 1.710...e-06 5.7e-07 -org-element-type 1 6.73e-07 6.73e-07 +org-agenda-prepare-buffers 1 1.274363975 1.274363975 +org-refresh-category-properties 8 0.5223036390 0.0652879548 +org-back-to-heading 4175 0.3902071139 9.346...e-05 +org-end-of-subtree 269 0.3046045960 0.0011323590 +org-at-planning-p 1430 0.2531864990 0.0001770534 +org-refresh-stats-properties 8 0.215502252 0.0269377815 +org-entry-get 977 0.1621657140 0.0001659833 +org-get-todo-state 993 0.1610573420 0.0001621926 +org-entry-properties 970 0.1346187400 0.0001387822 +org-refresh-properties 16 0.1290194969 0.0080637185 +org-time-string-to-absolute 997 0.0833316159 8.358...e-05 +org-closest-date 990 0.0782311110 7.902...e-05 +org-refresh-effort-properties 8 0.0710265269 0.0088783158 +org-at-property-p 121 0.0640767670 0.0005295600 +org-parse-time-string 1036 0.0587552579 5.671...e-05 +org-set-regexps-and-options 8 0.058292958 0.0072866197 +org--setup-collect-keywords 8 0.057765279 0.0072206598 +org-get-property-block 128 0.0501299259 0.0003916400 +org-outline-level 582 0.0454880059 7.815...e-05 +org-get-priority 304 0.0389058880 0.0001279798 +org-before-first-heading-p 300 0.0282599409 9.419...e-05 +org-at-date-range-p 380 0.0249748319 6.572...e-05 +org-get-tags-at 313 0.0247945759 7.921...e-05 +org-in-commented-heading-p 80 0.0168997969 0.0002112474 +org-heading-components 80 0.0086376659 0.0001079708 +org-activate-links 34 0.0079095950 0.0002326351 +org-in-src-block-p 1014 0.0077133719 7.606...e-06 +org-at-clock-log-p 85 0.0074070610 8.714...e-05 +org-match-line 85 0.0056585140 6.657...e-05 +org-add-props 958 0.004509359 4.707...e-06 +org-date-to-gregorian 524 0.0041814099 7.979...e-06 +org-refresh-property 7 0.0036240370 0.0005177195 +org--property-local-values 7 0.0034185350 0.0004883621 +org-get-limited-outline-regexp 1326 0.0032084940 2.419...e-06 +org-days-to-iso-week 2 0.0030286239 0.0015143119 +org-element-at-point 3 0.002689177 0.0008963923 +org-get-category 313 0.0021981879 7.022...e-06 +org-get-wdays 966 0.0020041910 2.074...e-06 +org-plist-delete 305 0.0019779859 6.485...e-06 +org-element-context 1 0.001688211 0.001688211 +org-get-todo-face 305 0.0015611989 5.118...e-06 +org-element--parse-to 2 0.001241767 0.0006208835 +org-today 83 0.0012195429 1.469...e-05 +org-element-link-parser 33 0.0010643399 3.225...e-05 +org-element-headline-parser 1 0.001012917 0.001012917 +org-eval 317 0.0008928330 2.816...e-06 +org-check-agenda-file 24 0.000803681 3.348...e-05 +org-element--current-element 6 0.0006666039 0.0001111006 +org-defkey 141 0.0006587890 4.672...e-06 +org-time-string-to-time 34 0.000608303 1.789...e-05 +org-font-lock-add-tag-faces 1 0.000573944 0.000573944 +org-agenda-files 3 0.0003822590 0.0001274196 +org-reduced-level 394 0.0003619940 9.187...e-07 +org-make-options-regexp 8 0.000326306 4.078825e-05 +org-get-agenda-file-buffer 24 0.000298869 1.245...e-05 +org-element-clock-parser 2 0.0002706479 0.0001353239 +org-element-timestamp-parser 3 0.000265097 8.836...e-05 +org-time-string-to-seconds 10 0.000251105 2.51105e-05 +org-element--object-lex 1 0.000224171 0.000224171 +org-link-get-parameter 226 0.0002107110 9.323...e-07 +org-find-base-buffer-visiting 24 0.00017819 7.424...e-06 +org-at-heading-p 11 0.0001737199 1.579...e-05 +org-do-emphasis-faces 1 0.000163429 0.000163429 +org-face-from-face-or-color 372 0.0001473109 3.959...e-07 +org-split-string 23 0.0001465090 6.369...e-06 +org-duration-to-minutes 9 0.000123819 1.375...e-05 +org-link-expand-abbrev 28 0.000122804 4.385...e-06 +org-element-drawer-parser 2 9.539...e-05 4.769...e-05 +org-element--get-node-properties 1 6.962e-05 6.962e-05 +org-element--get-time-properties 1 6.2192e-05 6.2192e-05 +org-element-property-drawer-parser 2 6.1388e-05 3.0694e-05 +org-element-property 101 5.278...e-05 5.226...e-07 +org-tag-alist-to-groups 8 4.5141e-05 5.642625e-06 +org-key 141 3.937...e-05 2.792...e-07 +org-get-tag-face 3 2.6399e-05 8.799...e-06 +org-element--collect-affiliated-keywords 2 2.363...e-05 1.181...e-05 +org-time-from-absolute 2 1.9812e-05 9.906e-06 +org-remove-flyspell-overlays-in 34 1.891...e-05 5.562...e-07 +org-element-footnote-reference-parser 1 1.2906e-05 1.2906e-05 +org-property-inherit-p 16 1.056...e-05 6.601...e-07 +org-file-menu-entry 8 8.996e-06 1.1245e-06 +org-not-nil 14 8.022e-06 5.730...e-07 +org-element--cache-put 6 3.465e-06 5.775e-07 +org-element-type 3 1.962...e-06 6.543...e-07 +org-git-version 1 1.793e-06 1.793e-06