From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: "atomic knowledge" modeling tool Date: Tue, 16 Feb 2016 19:52:41 +0000 Message-ID: <87h9h8xwja.fsf@ucl.ac.uk> References: <56ABADA9.2020107@onemodel.org> <20160202082303.78fb33b7@pckr150.mpip-mainz.mpg.de> <56B0C94D.2040005@onemodel.org> <87wpq4u4gz.fsf@gmail.com> <87mvr0ppua.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVlg4-0008Db-Vq for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 14:52:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVlfz-00060y-TA for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 14:52:52 -0500 Received: from mail-am1on0104.outbound.protection.outlook.com ([157.56.112.104]:18432 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVlfz-00060t-Ha for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 14:52:47 -0500 In-Reply-To: <87mvr0ppua.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 16 Feb 2016 17:44:29 +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 On Tuesday, 16 Feb 2016 at 17:44, Nicolas Goaziou wrote: > Hello, > > Samuel Loury writes: > >> Nevertheless, org-mode is rather slow when my todo.org file becomes >> quite large (~20K lines). > > Could you share some profiler information under typical usage so that we > can tell which parts are slow? > > Regards, Nicolas, in case it helps you, here are results from elp-instrument-package for org for a default agenda view. My agenda files have >50k lines. --8<---------------cut here---------------start------------->8--- org-agenda 1 6.273196422 6.273196422 org-agenda-list 1 6.097429472 6.097429472 org-agenda-prepare 1 5.759004218 5.759004218 org-agenda-prepare-buffers 1 5.74965952 5.74965952 org-get-agenda-file-buffer 24 5.2378653290 0.2182443887 org-mode 12 4.682173111 0.3901810925 org-bullets-mode 12 4.297196221 0.3580996850 org-activate-dates 8094 0.9626486539 0.0001189336 org-do-latex-and-related 57 0.90258761 0.0158348703 org-fontify-meta-lines-and-blocks 558 0.8863723670 0.0015884809 org-fontify-meta-lines-and-blocks-1 558 0.8854672459 0.0015868588 org-src-font-lock-fontify-block 115 0.8548640270 0.0074336002 org-display-custom-time 8081 0.5510519969 6.819...e-05 org-imenu-get-tree 9 0.258258335 0.0286953705 org-refresh-category-properties 12 0.24712266 0.020593555 org-agenda-get-day-entries 12 0.2210667090 0.0184222257 org-parse-time-string 9288 0.1951283320 2.100...e-05 org-fontify-drawers 5818 0.1932821849 3.322...e-05 --8<---------------cut here---------------end--------------->8--- Curiously, org-bullets-mode seems to be the main bottleneck on my system (Debian testing with 8 core Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz) If I remove the org-bullets and org-ellipses customisations, I get: --8<---------------cut here---------------start------------->8--- org-agenda 1 1.442858014 1.442858014 org-agenda-list 1 1.267505347 1.267505347 org-agenda-prepare 1 1.055099145 1.055099145 org-agenda-prepare-buffers 1 1.050210531 1.050210531 org-get-agenda-file-buffer 24 0.6879062640 0.0286627610 org-imenu-get-tree 9 0.2137700209 0.0237522245 org-agenda-get-day-entries 12 0.203279769 0.0169399807 org-agenda-get-restriction-and-command 1 0.175206608 0.175206608 org-agenda-get-scheduled 12 0.161025292 0.0134187743 --8<---------------cut here---------------end--------------->8--- A > 4=C3=97 improvement! Maybe the OP is customising bullets as well... Thanks, eric --=20 : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-601-gff9890