From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: 15 seconds to fontify index Date: Sun, 01 Apr 2007 20:58:30 -0400 Message-ID: References: <20070401232333.GD1063@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175475526 21083 80.91.229.12 (2 Apr 2007 00:58:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2007 00:58:46 +0000 (UTC) Cc: Richard Stallman , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 02 02:58:38 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HYAsY-0006T4-2f for ged-emacs-devel@m.gmane.org; Mon, 02 Apr 2007 02:58:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYAvW-0001Cw-6C for ged-emacs-devel@m.gmane.org; Sun, 01 Apr 2007 21:01:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HYAvT-00019G-T9 for emacs-devel@gnu.org; Sun, 01 Apr 2007 21:01:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HYAvR-00010M-J9 for emacs-devel@gnu.org; Sun, 01 Apr 2007 21:01:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYAvR-0000zh-DE for emacs-devel@gnu.org; Sun, 01 Apr 2007 21:01:37 -0400 Original-Received: from tomts20.bellnexxia.net ([209.226.175.74] helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HYAsR-0006VW-KJ; Sun, 01 Apr 2007 20:58:31 -0400 Original-Received: from pastel.home ([70.53.194.92]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070402005830.JZOA1637.tomts20-srv.bellnexxia.net@pastel.home>; Sun, 1 Apr 2007 20:58:30 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 59E077F3C; Sun, 1 Apr 2007 20:58:30 -0400 (EDT) In-Reply-To: <20070401232333.GD1063@muc.de> (Alan Mackenzie's message of "2 Apr 2007 00\:04\:45 +0200\, Mon\, 2 Apr 2007 00\:23\:33 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-detected-kernel: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68915 Archived-At: >> For the Emacs Lisp Manual, info.el takes 15 seconds to fontify >> the index. That's a serious problem, and we need to do something >> about it. > It's not the fontification. When I turn font-lock-mode off, it still > takes me 11 seconds (1.2 GHz Athlon) to display the page. info.el does not use font-lock, so it just *always* parses the page and adds the fontification info, except it puts it on font-lock-face, so that the highlighting is only visible if font-lock-mode is turned on. But the work is done regardless. Using font-lock (with jit-lock) would make things faster (because lazier) on large nodes. Stefan