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:58:05 +0300 Message-ID: <83ilp6udxe.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="7907"; 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:59: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 1o0P46-0001sr-Ce for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Jun 2022 16:59:46 +0200 Original-Received: from localhost ([::1]:42796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0P44-0007HF-Tw for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Jun 2022 10:59:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0P2m-0006XF-Hh for emacs-devel@gnu.org; Sun, 12 Jun 2022 10:58:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0P2k-000613-T7; Sun, 12 Jun 2022 10:58:22 -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=F/GWwtfJkZwGS74bJMa46pRu4Ee67h68nI3WH8TRm2A=; b=CgYtW/gFK/AE nY5LvYaaZC4TIiinbiXt2vSOQnTRgEvb8lRFeio+J1MAk++fcAD6g4yrqbIW/fcrv3Bo6v3lFAJrx hs3yHCknkj2J7j7zc/4oeerpyLulGj/5VtVyck7AkbsrVofgMqrSQYVBzSTiJJh8MSYzVoOV+If56 a/kR0b3hZGFHglwYxD2RDwl/tyeCn2S0SabsRG4UlVsK2thmMJ5k2XjDD496Uti9MjfdJr3HURjOO FZuazkBr4UocA23jt1fcbQgPvhd0yyo8Ckz9MHuIjKdow5kCT62lD87i9IkIMG51VwIWhSe/MEM20 3U9uPXHN0kcBUAnmnK229g==; Original-Received: from [87.69.77.57] (port=3591 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 1o0P2j-0003XG-TN; Sun, 12 Jun 2022 10:58:22 -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:291097 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 > > >> 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. I've run org-texinfo-export-to-texinfo instead. Is that OK? Here's the profile, collected after loading ox-texinfo.el (NOT .elc): 35 54% - ... 31 48% Automatic GC 4 6% - minibuffer-complete 4 6% - completion-in-region 4 6% - completion--in-region 4 6% - # 4 6% - apply 4 6% - # 4 6% - completion--in-region-1 4 6% - completion--do-completion 4 6% - completion-try-completion 4 6% - completion--nth-completion 4 6% - completion--some 4 6% - # 4 6% - completion-basic-try-completion 4 6% - try-completion 4 6% - # 4 6% complete-with-action 29 45% - command-execute 29 45% - call-interactively 25 39% - funcall-interactively 25 39% - execute-extended-command 25 39% - command-execute 25 39% - call-interactively 25 39% - funcall-interactively 25 39% - org-texinfo-export-to-texinfo 25 39% - let 23 35% - org-export-to-file 23 35% - org-export-as 10 15% - org-macro-initialize-templates 10 15% - org-macro--collect-macros 5 7% org-macro--find-keyword-value 3 4% - org-collect-keywords 3 4% - org--collect-keywords-1 1 1% - org--collect-keywords-1 1 1% - org-element-at-point 1 1% - org-element--parse-to 1 1% org-element--current-element 2 3% - org-macro--find-date 2 3% org-macro--find-keyword-value 6 9% org-export--delete-comment-trees 4 6% org-export-expand-include-keyword 3 4% - org-macro-replace-all 3 4% - org-macro-expand 3 4% - apply 3 4% - # 3 4% - save-current-buffer 3 4% - set-buffer 3 4% - find-file-noselect 2 3% - find-file-noselect-1 1 1% - after-find-file 1 1% - normal-mode 1 1% - set-auto-mode 1 1% - set-buffer-major-mode 1 1% - fundamental-mode 1 1% - run-mode-hooks 1 1% - hack-local-variables 1 1% - hack-dir-local-variables 1 1% - hack-dir-local--get-variables 1 1% - dir-locals-find-file 1 1% - locate-dominating-file 1 1% dir-locals--all-files 1 1% find-buffer-visiting 2 3% org-export-output-file-name 4 6% - byte-code 4 6% - read-extended-command 4 6% - completing-read 4 6% - completing-read-default 2 3% read-from-minibuffer