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: Org mode and Emacs (was: Convert README.org to plain text README while installing package) Date: Sun, 12 Jun 2022 17:36:56 +0300 Message-ID: <83leu2uewn.fsf@gnu.org> References: <87ee038ipt.fsf@gmx.de> <87o7z61v59.fsf@gmail.com> <87bkv527p5.fsf@gmail.com> <835yld93w7.fsf@gnu.org> <877d5t0yrn.fsf@gmail.com> <87r140yuof.fsf@gmail.com> <875yl9e7zm.fsf@gmail.com> <83czfh12kp.fsf@gnu.org> <87pmjhghu2.fsf@localhost> <835yl910gp.fsf@gnu.org> <87wndndbhq.fsf@gmail.com> <83bkuzznws.fsf@gnu.org> <877d5mqmkh.fsf@localhost> <83y1y2utnd.fsf@gnu.org> <87r13up587.fsf@localhost> <83o7yyur0l.fsf@gnu.org> <87leu2p3nu.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29103"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theophilusx@gmail.com, rms@gnu.org, monnier@iro.umontreal.ca, acm@muc.de, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 12 16:38:01 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 1o0Oj3-0007Oh-3U for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Jun 2022 16:38:01 +0200 Original-Received: from localhost ([::1]:32800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0Oj1-0007jj-8a for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Jun 2022 10:37:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0OiJ-00073P-9d for emacs-devel@gnu.org; Sun, 12 Jun 2022 10:37:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0OiH-0003b4-9l; Sun, 12 Jun 2022 10:37:13 -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=sEjbnBm4X9O86K6ina9YN82vCRZDo+Ez/hnSP1+oIGo=; b=WkKk0Wf0Ovs7 keBMXZ2poZfjPXMZXWDtXEzCucVfUjUaj8LVZjXOBXnsiX4hWf6TnK6I8eNRSG/1W1u9A5dO6pbCU y8YbrYagrUiMfoqHA3jhbUaIygtwdldN/o+Q1phaUA7CGVoZxHjDSuIKwgMgeq6uxpRpkghjMRxog oELaXFhcgNZwX2qfUuaDjjx3LV4DIM1q3Vz4zqhpVeG57d2ZMxkVhYNG7Dx6aCSgIiDY0x0c84g15 h0XgI4y/ADHPWcuK+DYu6huFvo/ILb8XRLuSSC1uqjOw+1BmhiBtlcRTuyZAJDd6oz9kdHZUfK8dE cRYK9Z6jmfinObK5wIMj0w==; Original-Received: from [87.69.77.57] (port=2275 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0OiG-0005ZL-8q; Sun, 12 Jun 2022 10:37:12 -0400 In-Reply-To: <87leu2p3nu.fsf@localhost> (message from Ihor Radchenko on Sun, 12 Jun 2022 18:38:45 +0800) 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:291095 Archived-At: > From: Ihor Radchenko > Cc: theophilusx@gmail.com, rms@gnu.org, monnier@iro.umontreal.ca, > acm@muc.de, emacs-devel@gnu.org > Date: Sun, 12 Jun 2022 18:38:45 +0800 > > Eli Zaretskii writes: > > > I really wonder how come no one on the Org list paid any attention to > > the 10-fold to 40-fold slowdown in the time it takes to build the > > manual, as result of that change. But that's water under the bridge. > > We rarely have bugs related to manual builds. I recall two in many > years. > > Usually documentation is built automatically on ELPA and by our > publishing scripts on orgmode.org. So basically no one builds Org, including the manual, on their own system? Even not the Org developers? > >> I just pushed several improvements to ox.el. They reduce manual > >> generation time 2x on my system (using main branch). Feel free to try it > >> on your side. AFAIU, the effect should be more noticeable on slower > >> systems. > > > > Thanks, I hope to see this soon in the Emacs repository. > > Not soon. Unless you want major changes for Emacs 28.2. We restricted > stable Org branch to critical-only bugfixes until Emacs 28.2 is out. This is not needed for the emacs-28 branch, so I meant master. > >> It may also help if you try to profile org-make-manuals from > >> mk/org-fixup.el and share the results. > > > > If profiling can help, wouldn't it be simpler to invoke the same > > commands from an interactive Emacs session, then show the profile? > > This is exactly what I meant. To run org-make-manuals from interactive > Emacs session. Then why would I need org-fixup.el? > org-make-manuals takes about 20 seconds on my system (for combined Org > export and texinfo invocation). Your system is clearly different and > might have different bottlenecks. Your Emacs is probably built with optimizations, whereas mine isn't. The optimized version build org.info in about 30 sec, as I said, which is not very different from your timing.