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: Convert README.org to plain text README while installing package Date: Sun, 05 Jun 2022 19:25:24 +0300 Message-ID: <83y1yb84cr.fsf@gnu.org> 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> <8735gj5cph.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39827"; 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: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 05 18:26:54 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 1nxt5Z-000AB9-P0 for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jun 2022 18:26:53 +0200 Original-Received: from localhost ([::1]:49790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxt5Y-0000aN-EZ for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jun 2022 12:26:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxt4N-0007kq-S4 for emacs-devel@gnu.org; Sun, 05 Jun 2022 12:25:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46324) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxt4M-0002T4-Vc; Sun, 05 Jun 2022 12:25:38 -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=Hm54SMZ8BWw71YH08MDfvGBTkid/p6Jang9OkCKwFJU=; b=QglZZwGQRpxN kO+71+blMm+26ca2Dv1gf4uK2z4mi+6aK7UkEIfyxJabuwmrGW0fNXfIeN5hU9deNc6j4wCHOYfAF PeQ7TGxHvWkCRImkYM4vPzFtvuR1tLuczaOSY9sdDUxt9cFYsqWthEhSE1VOeW/nuluSkwKduqwEL ZobpWDEp7nkkb0oB5+Q9ePNoZgDO9R6ZpcpAHoa6rO8l1iJTZJOiLYv7nLwIFTsagyP5IxTDp9+a/ 6Dp9eMtiZtRvWXLJhDsuw34hj5DU2SrZ5caSJGZyQnULeWN5HT6jn+b7xzBxkxZZd7zGTU9NKepVR l/5Tsr6Ym+ZkWvULnUZrhw==; Original-Received: from [87.69.77.57] (port=1168 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 1nxt4M-0007TJ-Ad; Sun, 05 Jun 2022 12:25:38 -0400 In-Reply-To: <8735gj5cph.fsf@localhost> (message from Ihor Radchenko on Sun, 05 Jun 2022 23:53:14 +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:290733 Archived-At: > 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:53:14 +0800 > > > 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. I think also load-with-code-conversion, which probably means we are loading gobs of Lisp. That could also explain why macroexpansion takes a significant percentage.