From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Slow generation of Org manual Date: Sat, 29 Jun 2024 19:25:31 +0300 Message-ID: <86frsviumc.fsf@gnu.org> References: <86le2nizww.fsf@gnu.org> <87y16ng4wi.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18073"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 29 18:26:31 2024 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 1sNauF-0004Tb-71 for ged-emacs-devel@m.gmane-mx.org; Sat, 29 Jun 2024 18:26:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNatP-0000Wf-Bv; Sat, 29 Jun 2024 12:25:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNatK-0000W6-Lh for emacs-devel@gnu.org; Sat, 29 Jun 2024 12:25:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNatJ-0007Oj-Q3; Sat, 29 Jun 2024 12:25:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=BmJ4P8u2qZyluUM4kBlH5cR4NHA0Qy8Y2Ecg1nZuf38=; b=gyunjRJimPrS O3J+6k3jLPjVPZCmiiqhltpulkWdTFhqlD9IsM67aO0NeJk/urj9AiZ+rqLWeKRTRgsYtdzrTVoNU B2O3og64oZ53N3eJ3pFKJQIJulJcJECSUb/u/7r/1JLumNOBuotJQbUQIq5V+77HVvJTTBnt0nJ34 x0sXh1lOJ4wzBzx/cJLY54gVOclCMqvMxpGAfGL75vqsLLT86EPayjD6GW7MbHx9+h0sJp5Ihj4Cf hMI/whDA8REki1vSAXKzMCLeVBVFGD2mXAu3YxHW1CJHI8nPIAHSQzNYbUmJlem93tHKvuY6IEwO8 QtaOuz71EbF2nkK+BJ6beA==; In-Reply-To: <87y16ng4wi.fsf@localhost> (message from Ihor Radchenko on Sat, 29 Jun 2024 15:11:41 +0000) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:320863 Archived-At: > From: Ihor Radchenko > Cc: emacs-devel@gnu.org > Date: Sat, 29 Jun 2024 15:11:41 +0000 > > Eli Zaretskii writes: > > > The generation of the Org manual from org.org on the master branch is > > again taking a long time. On one system I use (which is relatively > > slow), it takes a whopping 4.5 min. On a much faster system it still > > takes more than 20 sec. > > > > Can this be sped-up, please? > > I do not think that it has anything to do with Org. > I also observed slow generation of the manual on master, but it was a > result of Org manual being generated _before_ Org mode is compiled. That's not what I see here. Org is already byte-compiled when the Org manual is generated. So this cannot be the reason. > If I do > > time (touch doc/misc/org.org && make) > > _after_ full compilation, I am getting > > real 0m10.850s > user 0m10.548s > sys 0m0.293s I'm guessing this is on a fast machine, in an optimized build, and probably also with native compilation, right? > This is the usual time I saw in the earlier versions, after we bumped > the gc-cons-threshold. Which earlier versions? Does that include Emacs 29? Anyway, something has clearly changed, since it never took so long, AFAIR. Did the Org manual in the version that is now on the emacs-30 branch change significantly wrt what we had in Emacs 29?