emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Org mode and Emacs (was: Convert README.org to plain text README whi


From: Eli Zaretskii
Subject: Re: Org mode and Emacs (was: Convert README.org to plain text README while installing package)
Date: Sun, 12 Jun 2022 17:58:05 +0300

> From: Ihor Radchenko <yantar92@gmail.com>
> Cc: theophilusx@gmail.com,  rms@gnu.org,  monnier@iro.umontreal.ca,
>  acm@muc.de,  emacs-devel@gnu.org
> Date: Sun, 12 Jun 2022 18:38:45 +0800
> 
> >> It may also help if you try to profile org-make-manuals from
> >> mk/org-fixup.el and share the results.
> >
> > If profiling can help, wouldn't it be simpler to invoke the same
> > commands from an interactive Emacs session, then show the profile?
> 
> This is exactly what I meant. To run org-make-manuals from interactive
> Emacs session.

I've run org-texinfo-export-to-texinfo instead.  Is that OK?

Here's the profile, collected after loading ox-texinfo.el (NOT .elc):

          35  54% - ...
          31  48%    Automatic GC
           4   6%  - minibuffer-complete
           4   6%   - completion-in-region
           4   6%    - completion--in-region
           4   6%     - #<compiled -0x1b56346374fd962>
           4   6%      - apply
           4   6%       - #<compiled 0x1145271b5beccb90>
           4   6%        - completion--in-region-1
           4   6%         - completion--do-completion
           4   6%          - completion-try-completion
           4   6%           - completion--nth-completion
           4   6%            - completion--some
           4   6%             - #<compiled -0x1c897b8c342611de>
           4   6%              - completion-basic-try-completion
           4   6%               - try-completion
           4   6%                - #<compiled -0x1144c96014867ed9>
           4   6%                   complete-with-action
          29  45% - command-execute
          29  45%  - call-interactively
          25  39%   - funcall-interactively
          25  39%    - execute-extended-command
          25  39%     - command-execute
          25  39%      - call-interactively
          25  39%       - funcall-interactively
          25  39%        - org-texinfo-export-to-texinfo
          25  39%         - let
          23  35%          - org-export-to-file
          23  35%           - org-export-as
          10  15%            - org-macro-initialize-templates
          10  15%             - org-macro--collect-macros
           5   7%                org-macro--find-keyword-value
           3   4%              - org-collect-keywords
           3   4%               - org--collect-keywords-1
           1   1%                - org--collect-keywords-1
           1   1%                 - org-element-at-point
           1   1%                  - org-element--parse-to
           1   1%                     org-element--current-element
           2   3%              - org-macro--find-date
           2   3%                 org-macro--find-keyword-value
           6   9%              org-export--delete-comment-trees
           4   6%              org-export-expand-include-keyword
           3   4%            - org-macro-replace-all
           3   4%             - org-macro-expand
           3   4%              - apply
           3   4%               - #<lambda 0xf2f300dd4>
           3   4%                - save-current-buffer
           3   4%                 - set-buffer
           3   4%                  - find-file-noselect
           2   3%                   - find-file-noselect-1
           1   1%                    - after-find-file
           1   1%                     - normal-mode
           1   1%                      - set-auto-mode
           1   1%                       - set-buffer-major-mode
           1   1%                        - fundamental-mode
           1   1%                         - run-mode-hooks
           1   1%                          - hack-local-variables
           1   1%                           - hack-dir-local-variables
           1   1%                            - hack-dir-local--get-variables
           1   1%                             - dir-locals-find-file
           1   1%                              - locate-dominating-file
           1   1%                                 dir-locals--all-files
           1   1%                     find-buffer-visiting
           2   3%            org-export-output-file-name
           4   6%   - byte-code
           4   6%    - read-extended-command
           4   6%     - completing-read
           4   6%      - completing-read-default
           2   3%         read-from-minibuffer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]