>> These results indicate that the main source of the slowdown is the >> menu items fontification code in `Info-fontify-node', and it is caused >> by a large amount of Info menu items needed to be processed. > > While I still don't understand where the slowdown actually comes from > (e.g. why do 1559 calls to put-text-property take 0.01s with -Q -D but then > take 5.46s with a loaded .emacs? Also more than half the elasped time is > unaccounted for in the profile of the pathological case), we can always try > and move some of Info-fontify-node into font-lock-keywords where jit-lock > should help us stay nice and responsive.
Definitely worth trying. But before doing that I want to understand why in `emacs -Q -D' this is faster. -- Juri Linkov http://www.jurta.org/emacs/ _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel