From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Reworking loaddefs.el generation Date: Tue, 31 May 2022 18:44:22 +0000 Message-ID: References: <87ee0f8cvx.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40667"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 31 20:51:48 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nw6y4-000AMC-9i for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 20:51:48 +0200 Original-Received: from localhost ([::1]:52344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nw6y3-00033G-0U for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 14:51:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw6rJ-0006L3-6F for emacs-devel@gnu.org; Tue, 31 May 2022 14:44:50 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:50538 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1nw6r6-0001D8-Fk for emacs-devel@gnu.org; Tue, 31 May 2022 14:44:48 -0400 Original-Received: (qmail 9712 invoked by uid 3782); 31 May 2022 18:44:23 -0000 Original-Received: from acm.muc.de (p4fe15b75.dip0.t-ipconnect.de [79.225.91.117]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 31 May 2022 20:44:23 +0200 Original-Received: (qmail 16829 invoked by uid 1000); 31 May 2022 18:44:22 -0000 Content-Disposition: inline In-Reply-To: <87ee0f8cvx.fsf@gnus.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290440 Archived-At: Hello, Lars. On Fri, May 27, 2022 at 12:53:54 +0200, Lars Ingebrigtsen wrote: > I've been working a bit on making loaddef file generation faster (and > easier to comrehend). Building loaddefs currently takes about 10 > seconds (on my build machine), and I've got it down to 2 seconds. (For > my "make -j32" build, this means a reduction of 6% time, since that bit > is single-threaded and make doesn't have anything else to schedule while > Emacs is working.) [ .... ] While on the subject of build times, another frustrating delay happens with the generation of .texi intermediate files from those doc files whose source is .org. There are two of these, modus-themes.texi and org.texi. The first isn't too bad, because it's small, but org.texi is taking ~20 seconds to generate on my machine (which is doing nothing else at the time) plus, perhaps, 3 seconds for org.info. Would it perhaps be possible to set the documentation generation going at an earlier stage of the bootstrap, in effect spreading out the slowness over the entire battery of processor cores? > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no -- Alan Mackenzie (Nuremberg, Germany).