Subject: Re: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook

From: Juanma Barranquero <[email-masked]>
Date: Wed, 17 Jul 2013 05:05:27 +0200

Running your test from the command line

  emacs.exe -Q -f global-font-lock-mode src\xdisp.c --eval "(let
((c-standard-font-lock-fontify- region-function
'font-lock-default-fontify-region)) (font-lock-fontify-buffer))" -f
kill-emacs

I get quite different times:

 - 24.3, -O0 --enable-checking   ~ 1m 1s.
 - trunk, -O0 --enable-checking=yes,glyph   ~ 1m 40s.
 - trunk, -O2 --enable-checking=yes (no glyph)   ~ 32s.

   J