From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Org mode and Emacs Date: Thu, 16 Jun 2022 13:36:35 +0800 Message-ID: <87czf9np98.fsf@localhost> References: <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> <83leu2uewn.fsf@gnu.org> <87r13qv701.fsf@localhost> <87o7yuwhif.fsf@randomsample> <878rpyv0nj.fsf@localhost> <838rpyrsgf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6940"; mail-complaints-to="usenet@ciao.gmane.io" Cc: deng@randomsample.de, theophilusx@gmail.com, rms@gnu.org, monnier@iro.umontreal.ca, acm@muc.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 16 07:40:57 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 1o1iFU-0001cr-Sw for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Jun 2022 07:40:56 +0200 Original-Received: from localhost ([::1]:34348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1iFT-0001ij-H3 for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Jun 2022 01:40:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1iAI-0008Cb-Es for emacs-devel@gnu.org; Thu, 16 Jun 2022 01:35:39 -0400 Original-Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:46976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1iAG-000461-TO; Thu, 16 Jun 2022 01:35:33 -0400 Original-Received: by mail-pj1-x1032.google.com with SMTP id k5-20020a17090a404500b001e8875e6242so514683pjg.5; Wed, 15 Jun 2022 22:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=gellfDUWlIljjTMz8Jlta4Vz7/Mj4vnAfu25cmiawxc=; b=Dt9EXf/2djJnwE+M6qmYaoIvcZ/a9zd7nZwzHNbYuixVsA9c9gtavJO+7Dv2nsZ37E mQ15VI6cv2fx59gZU3NAvFSspISL61i8fmQqP70AhCEmYIbJWntdKywaFAyGu1SRaGKU jbyTNfEPxxQGh3xzqqcdBergBWwFEbItqnQPorBMnEY4XIQjQQXN8MzXlT8Wsa1UQsNF dl+KawT1zBAe8/04RrclgjCNNMXc8DOg7eDVzoNaEFpwGEywzDdoGZeatnrQR31OcW8M iU8uFsliuASWZAsueXFyaJnB3md5CfivTx2l1LckVx69tvJ/VB/23o8m6eVpIhseY3qR g+Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=gellfDUWlIljjTMz8Jlta4Vz7/Mj4vnAfu25cmiawxc=; b=Q2FQOz3ZT0BL3Xn8vvxoJc0ozBGeAcz5kBw5aTSJzwDDXd5y4+Tx5lmbmDKhwOd7vX 8AloNyZU5jJ0+Kfzn6IE5TB+mtLWsPsBrsygad4m1+9hb1pJXmt48RbgJNN4/rdSfd/R mcbVGobG95OGkFVNihaI17iHzfIZ7/2/rBlr1vxWvJKaGdoXMzlqxo7OFnw/N9kg8kTE uhZIglSDAIRnQUl3m1ifsnxFuKO4sCiwYPF6YiGTJdHpBcgyiUGY94czk4pZZk3m+ts0 bF0GsKvbGjjpLTkorcj3S7BJgCPRRjMovG83O1UXrWNTYefS7L8Q60JiInblImt4q9V5 7+gQ== X-Gm-Message-State: AJIora/qx4rDZ4792zx2oPtBpHYMwoxOtaURCS0V1OEIwxJIVMUwyPva IcAaW3LsW3pYlBX9p5Lcngsmkhi8i06/jg== X-Google-Smtp-Source: AGRyM1s6YX1p/VAfEkzSpGBjEb16JYPOzCs6sSJcmBtdKpBmRe9/JWQOjzH8g8qmv1a3vTkt/RF8Ng== X-Received: by 2002:a17:90b:1e06:b0:1e3:7d5:b542 with SMTP id pg6-20020a17090b1e0600b001e307d5b542mr14234186pjb.230.1655357729722; Wed, 15 Jun 2022 22:35:29 -0700 (PDT) Original-Received: from localhost ([155.94.207.39]) by smtp.gmail.com with ESMTPSA id b8-20020a170902650800b00167942e0ee9sm639323plk.61.2022.06.15.22.35.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 22:35:28 -0700 (PDT) In-Reply-To: <838rpyrsgf.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1032.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:291230 Archived-At: Eli Zaretskii writes: >> On my system, using Emacs 28 and latest Org, exporting org-manual + >> org-guide takes 18.8 sec. This time includes genering the .texi files >> and running texinfo. From that 18.8 sec, texinfo takes 3.4 sec to run. >> >> org export takes: 15.4 sec, which is 4.5 x texinfo time. >> Considering that Org export is more sofisticated compared to texinfo and >> that Org export is written in Elisp, I see this performance as >> acceptable for a documentation system. > > I don't know about "acceptable", sorry. It is definitely "endurable", > but 18.8 seconds is annoyingly long for an optimized build of Emacs to > do anything this simple. Ok. I pushed things a bit further. The latest Org main takes ~8sec to generate Org manual. This _includes_ makeinfo call. Now, Org export takes the same time with texinfo - ~4sec on my system. Further improvements are not trivial, given my familiarity with Org babel and Org export code. > Can you find any other single command that's part of building Emacs > which takes a comparable amount of time in an optimized build? Optimized Emacs build takes >30 minutes on my system. Mainly because of native compilation. 40, 20, or 10 seconds spent generating Org documentation are negligible for me. Best, Ihor