emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Things got very slow: profiler output
@ 2024-02-29  5:13 William Denton
  2024-02-29  9:21 ` Bruno Barbier
       [not found] ` <notmuch-sha1-998a6a574db756b51dbdd759ff59b5174d99c7f1>
  0 siblings, 2 replies; 30+ messages in thread
From: William Denton @ 2024-02-29  5:13 UTC (permalink / raw)
  To: Emacs Org mode mailing list

I rebuilt Org and Emacs from the development trees and something is wrong, because some Org files I use regularly have become incredibly slow to use.  I rarely use the profiler and don't know what to make of what it says, but I opened a file and ran it while I moved around and expanded and collapsed some headings for a minute or so.  (It was so slow that it took me a minute to do what would usually take me a few seconds.)  I'll paste the results below.  Does that say anything useful?  There is a little LaTeX in the file but not much.

Any help on interpreting this would be welcome.  I can try reverting to an earlier Git commit tomorrow.

Bill

     Samples    %   Function
       73203  70% - redisplay_internal (C function)
       71496  68%  - jit-lock-function
       71488  68%   - jit-lock-fontify-now
       71472  68%    - jit-lock--run-functions
       71472  68%     - #<compiled 0x1baf5fbd9c5fbb3f>
       71472  68%      - font-lock-fontify-region
       71468  68%       - font-lock-default-fontify-region
       71436  68%        - font-lock-fontify-keywords-region
       71124  68%         - org-do-latex-and-related
       71124  68%            re-search-forward
         228   0%         + org-activate-folds
          16   0%         + org-fontify-meta-lines-and-blocks
          12   0%         + org-activate-footnote-links
           8   0%           org-activate-dates
           8   0%         + org-activate-links
           4   0%           org-do-emphasis-faces
           4   0%           org-fontify-drawers
           4   0%           org-raise-scripts
          28   0%        + font-lock-unfontify-region
           4   0%        + font-lock-extend-region-wholelines
           4   0%      text-property-any
       30951  29% + command-execute
          ...


--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2024-03-17 19:33 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-29  5:13 Things got very slow: profiler output William Denton
2024-02-29  9:21 ` Bruno Barbier
2024-02-29  9:28   ` Ihor Radchenko
     [not found] ` <notmuch-sha1-998a6a574db756b51dbdd759ff59b5174d99c7f1>
2024-02-29  9:25   ` Bruno Barbier
2024-03-07 16:12     ` William Denton
2024-03-07 17:42       ` Bruno Barbier
2024-03-09 19:27       ` William Denton
2024-03-12 12:43         ` Ihor Radchenko
2024-03-13 23:19           ` Bruno Cardoso
2024-03-14  1:17             ` William Denton
2024-03-14  7:34               ` Gerard Vermeulen
2024-03-14 10:27                 ` Bruno Cardoso
2024-03-14 10:22               ` Bruno Cardoso
2024-03-14 21:23             ` Ihor Radchenko
2024-03-15  1:09               ` Bruno Cardoso
2024-03-15 14:24                 ` Ihor Radchenko
2024-03-15 16:33                   ` Bruno Cardoso
2024-03-15 17:18                     ` Ihor Radchenko
2024-03-15 17:49                       ` Bruno Cardoso
2024-03-16  8:56                         ` Ihor Radchenko
2024-03-16 13:31                           ` Bruno Cardoso
2024-03-16 15:56                             ` Ihor Radchenko
2024-03-16 18:39                               ` William Denton
2024-03-16 18:56                                 ` Ihor Radchenko
2024-03-17 18:59                                   ` William Denton
2024-03-17 19:33                                     ` Ihor Radchenko
2024-03-16 20:21                               ` Bruno Cardoso
2024-03-16 21:14                                 ` Ihor Radchenko
2024-03-17 13:02                                   ` Bruno Cardoso
2024-03-17 14:19                                     ` Ihor Radchenko

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