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: Convert README.org to plain text README while installing package Date: Sun, 05 Jun 2022 23:53:14 +0800 Message-ID: <8735gj5cph.fsf@localhost> References: <87leuca7v7.fsf@disroot.org> <87czfopmsd.fsf@gnu.org> <87h74ztshe.fsf@gmx.de> <871qw31ois.fsf@yahoo.com> <878rqb5egg.fsf@localhost> <837d5v9lu7.fsf@gnu.org> <875ylf5d9p.fsf@localhost> <831qw39kpl.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="3234"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, michael.albinus@gmx.de, acm@muc.de, stefan@marxist.se, tsdh@gnu.org, akib@disroot.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 05 17:54:16 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 1nxsZy-0000ea-Vk for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jun 2022 17:54:14 +0200 Original-Received: from localhost ([::1]:41960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxsZx-0008N1-IB for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jun 2022 11:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxsYV-0006NZ-Ir for emacs-devel@gnu.org; Sun, 05 Jun 2022 11:52:44 -0400 Original-Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:33386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxsYT-0006K6-W6; Sun, 05 Jun 2022 11:52:43 -0400 Original-Received: by mail-pj1-x102f.google.com with SMTP id hv24-20020a17090ae41800b001e33eebdb5dso10267720pjb.0; Sun, 05 Jun 2022 08:52:40 -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=IuVXQNjf9e59sQen3BQ7Vu01M5QDAc+GMkwJHDN30cY=; b=T8NbicPp51z/V3v/hI14O5LawW2X5A70HUQEjdD9PEoz3JhXdZJ0+of0hw8pUtHxwa rr9pzkZgXsVc6xBKLhezEqmcYDBw2wXVC1tam61LhNR70HSormlTj1VGy9q+dKAoS01p 5hujXlFgg7DMRQ6Sx/ZGc8or68y35tk6+nS234gyz5EuaM5B9mCNSVomms2GRK933JWV Wmz6WPZzOLs4LymJC4sL03ESdS9YcUGNNRDDqICsIAzT6ICbRixWGvnp+sqBIs+dFXqI dwmJ7EygXXex384xn4DVgrh1Y5oHPEjr7EIriE0GvbpmR28E4KfyBtRNWJvbNyAI5aEu 1Zyg== 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=IuVXQNjf9e59sQen3BQ7Vu01M5QDAc+GMkwJHDN30cY=; b=BuXROYr9f1CP1kekol9/EWEgJR8fVOZJG2HrcKd+gHSt8Y5+Ar6wwmebmxBa91sF6S mOmu2thO031lUyTFSQdhGK9vywH/gObkIbSxk7GJB6ZgQ4GRlTSFArPlqsTgHoHWdb7e TrX4xurJ9k5CSfkLUq7Tqi/flP9DtJ34S6C1ldUjj7bXord3YESFPzdtxb+GbXUN3T/B eAjUPsoJP83RhP2cJv9rWauyNoe4Uo3VhgJUvZvkL3IUCIkld7spqyiSSx5eIby+Uvdw vHHfalIe7QuC2N4XzyeuowXdisEgvSFXL2pyF+Bqv53UfQuinpnBlIQ37IDIBsQhSdv0 yt0w== X-Gm-Message-State: AOAM5338Tl4dBmaWpke8PKO78b7u57+goxNFT0jrrzex17JG09gJtsin goHUIG9eXlVW+1ygpKS7hcfV/e69+bjPbk9U X-Google-Smtp-Source: ABdhPJzAGNa5zuzMxEikBj86iUvIBD/ntc0gSJzBUKQMWipZRxmwj6KmyXuHNKhrsVoQmzL4iPQjgA== X-Received: by 2002:a17:90a:a614:b0:1df:8aec:cc71 with SMTP id c20-20020a17090aa61400b001df8aeccc71mr21547541pjq.82.1654444359537; Sun, 05 Jun 2022 08:52:39 -0700 (PDT) Original-Received: from localhost ([210.3.160.226]) by smtp.gmail.com with ESMTPSA id t19-20020a170902e1d300b00163d76696e1sm8789880pla.102.2022.06.05.08.52.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 08:52:38 -0700 (PDT) In-Reply-To: <831qw39kpl.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102f.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:290728 Archived-At: Eli Zaretskii writes: >> From: Ihor Radchenko >> Cc: luangruo@yahoo.com, michael.albinus@gmx.de, acm@muc.de, >> stefan@marxist.se, tsdh@gnu.org, akib@disroot.org, emacs-devel@gnu.org >> Date: Sun, 05 Jun 2022 23:41:06 +0800 >> >> org-mode loading is just 2x slower than help-mode on Emacs 28. >> Not so great on Emacs 29, but it is something about Emacs 29 rather than >> about org-mode. Do you have any ideas? > > No, sorry. Suggest to profile it to see what takes time. Well. I tried, but it is not terribly helpful: 251 85% - command-execute 251 85% - funcall-interactively 251 85% - eval-last-sexp 251 85% - elisp--eval-last-sexp 251 85% - progn 251 85% - benchmark-call 251 85% - # 251 85% - load 251 85% - load-with-code-conversion 130 44% - require 120 40% - load-with-code-conversion 70 23% + internal-macroexpand-for-load 30 10% - require 20 6% - load-with-code-conversion 20 6% - require 10 3% load-with-code-conversion 10 3% + byte-code 10 3% byte-code 101 34% + internal-macroexpand-for-load 10 3% + custom-declare-variable 43 14% - ... 33 11% Automatic GC 10 3% + byte-compile-preprocess Looks like macroexpand takes time, but I have no idea how to interpret this. Best, Ihor