bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer


From: Juanma Barranquero
Subject: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook
Date: Wed, 17 Jul 2013 13:42:47 +0200

X-Debbugs-Cc: eggert@cs.ucla.edu


Anyway, in my original report,

  emacs -Q --eval "(add-hook 'prog-mode-hook
#'font-lock-fontify-buffer)" src/xdisp.c -f kill-emacs

an optimized 24.3 build was slower than a non-opt trunk one (both
compiled with gcc 4.7.2).

However, with your test case, non-opt trunk is 30s slower than non-opt
24.3, and optimized trunk needs less than a third of the time of
non-opt trunk (though glyph assertions are enabled, which could affect
the result)...

A shoot in the dark: Could all this be related to Paul's substitution
of many macros by inline functions?

Paul, WDYT?

    Juanma





reply via email to

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