From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14886: Fwd: A significant slowdown calling font-lock-fontify-buffer from a hook Date: Wed, 17 Jul 2013 07:02:12 +0300 Message-ID: <837ggp3kcb.fsf@gnu.org> References: <83ip0a2xlb.fsf@gnu.org> <83ehay2vgw.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1374033786 15822 80.91.229.3 (17 Jul 2013 04:03:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jul 2013 04:03:06 +0000 (UTC) Cc: 14886@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 17 06:03:07 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UzIxG-0006Yc-S6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2013 06:03:06 +0200 Original-Received: from localhost ([::1]:35363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzIxG-0001Vq-9c for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2013 00:03:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzIxD-0001Vl-8U for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 00:03:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzIxC-0007p7-Fh for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 00:03:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzIxC-0007p3-DJ for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 00:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UzIxB-0005kh-QF for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 00:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Jul 2013 04:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14886 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14886-submit@debbugs.gnu.org id=B14886.137403373722041 (code B ref 14886); Wed, 17 Jul 2013 04:03:01 +0000 Original-Received: (at 14886) by debbugs.gnu.org; 17 Jul 2013 04:02:17 +0000 Original-Received: from localhost ([127.0.0.1]:59651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzIwS-0005jP-SW for submit@debbugs.gnu.org; Wed, 17 Jul 2013 00:02:17 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:34844) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzIwP-0005j3-Qz for 14886@debbugs.gnu.org; Wed, 17 Jul 2013 00:02:15 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MQ200J00B3OPP00@a-mtaout21.012.net.il> for 14886@debbugs.gnu.org; Wed, 17 Jul 2013 07:02:07 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ200J2XB7IJC90@a-mtaout21.012.net.il>; Wed, 17 Jul 2013 07:02:06 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76411 Archived-At: > From: Juanma Barranquero > 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.