unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* A significant slowdown calling font-lock-fontify-buffer from a hook
@ 2013-07-16  0:12 Juanma Barranquero
  2013-07-16 18:01 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Juanma Barranquero @ 2013-07-16  0:12 UTC (permalink / raw)
  To: Emacs developers

I discovered this because I call colum-marker-1 (from
colum-marker-mode, http://www.emacswiki.org/emacs/column-marker.el) in
the prog-mode-hook, but the issue is with font-lock-fontify-buffer.

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

On Emacs 24.3, -O0 -g3 --enable-checking: about 2 seconds.
On trunk, -O2 -g3 --enable-checking: ~ 33 seconds, x16 slowdown.

Any idea what could be causing this?

    J



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

end of thread, other threads:[~2013-07-16 18:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-16  0:12 A significant slowdown calling font-lock-fontify-buffer from a hook Juanma Barranquero
2013-07-16 18:01 ` Eli Zaretskii
2013-07-16 18:26   ` Juanma Barranquero
2013-07-16 18:47     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).