GNU bug report logs - #14886
Slowdown on font-lock-fontify-buffer

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Tue, 16 Jul 2013 23:05:02 UTC

Severity: normal

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 14886 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 14886 <at> debbugs.gnu.org
Subject: Re: bug#14886: Fwd: A significant slowdown
 calling	font-lock-fontify-buffer from a hook
Date: Wed, 17 Jul 2013 07:02:12 +0300
> From: Juanma Barranquero <lekktu <at> gmail.com>
> 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.

Then I guess we have no clear idea what we are talking about.




This bug report was last modified 5 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.