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:41:06 +0800 Message-ID: <875ylf5d9p.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25557"; 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:42:13 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 1nxsOL-0006Uz-Qc for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jun 2022 17:42:13 +0200 Original-Received: from localhost ([::1]:59694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxsOK-0001ii-DO for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jun 2022 11:42:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxsMs-0000HE-9q for emacs-devel@gnu.org; Sun, 05 Jun 2022 11:40:42 -0400 Original-Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:39509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxsMn-0004Ug-G6; Sun, 05 Jun 2022 11:40:41 -0400 Original-Received: by mail-pf1-x42e.google.com with SMTP id y196so10901754pfb.6; Sun, 05 Jun 2022 08:40:32 -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=0BvrnqtNsj1+nBDQdmtzFU5wPAel8JV94E3kP9gNt30=; b=dQCC0mLJxzoOzf4Vbo0nzvBIrMQt/t/Qzt82smgtNJxG2/tZsqy/IFRe9j4WQ/UEUe glnFht0vuxNlF/82brjQVsp/CHTZuMHyculI617UrEbATB3caLgUWonLcLJnK+NmY4IV ioqRKTFT55+Yud/o8uVQfUqskN8Xw2SHBjOPQZGjmrKjQsxmNAJkngoaCOQpdqHqJUMP 5RwUJV6qd4t5Oz5qrpuA0scvNhlleLyJwGR8hn7jSD3vq4V3ARy7PEai3k2aYgQ4GpVL E2ov61G2JlkG3mU8AX0y4vCu4s9IK2tRAHqlaLJDXMHIsiCP1pKAkTqWVVgLONtkhco8 HU1A== 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=0BvrnqtNsj1+nBDQdmtzFU5wPAel8JV94E3kP9gNt30=; b=ewo/CqgkQd/lbO7jdIjw6swqCBH0sGCUAxUVQngyjDIlQONRVKHc1v+IKg6TDBWknp vdvACDyEyPxjqPzpjbam9o6a1fJRVyV6ICCGBQBKjjaRFG7YtWHOrEbKrw9PwhYYHQSP 69ilFo0YTPS3y+8HUN/sn03qU68LN92tkA/PnM5UKAoCrzekXxxoGCCfcSVmZK2vyYZl 43U3Cgf4FKe4mJ2Z5JpxtEu1ID5I6Y9XKfeLazZBy/b9NM12otjOYBRxUa79Jvo/cZeK FFLNdxNQERw/xJ4N8NQc9KPwj59TUdfzgAZtbSUsAnQWoTW99gMLPNCC4nLuQ4K7dSQG 1D5A== X-Gm-Message-State: AOAM5313rB0thhRUlhV/kc/RI8qdPKy6EOdxoubYZYW0Xj2ve42V/pug UYVbTQaMJ5VzPD1fIagmKNHND7svEblqMpbj X-Google-Smtp-Source: ABdhPJw3mAiiSHhMBlmzt6Ix0OYx/MgH69GhIFudI7ksw3c/ugUuLxDqe4pHg3tjEN/ROOaC5TRZjw== X-Received: by 2002:a05:6a00:1acb:b0:518:986c:a7c4 with SMTP id f11-20020a056a001acb00b00518986ca7c4mr19837883pfv.2.1654443630994; Sun, 05 Jun 2022 08:40:30 -0700 (PDT) Original-Received: from localhost ([210.3.160.226]) by smtp.gmail.com with ESMTPSA id c11-20020aa7880b000000b00518e1251197sm9229806pfo.148.2022.06.05.08.40.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 08:40:30 -0700 (PDT) In-Reply-To: <837d5v9lu7.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42e.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:290724 Archived-At: Eli Zaretskii writes: > This: > > (benchmark-run 1 (load "org")) > > takes around 1.7 sec here, including 1.1 sec used by GC. This is in > an unoptimized build of Emacs 29 on MS-Windows. I tried your example on Emacs 29 and Emacs 28 (both optimized with native-comp). On Emacs 29 I got (0.315444431 17 0.154982815) On Emacs 28 I got (0.17239349 11 0.088822737) To make sure that different Org versions do not interfere, I also tried emacs -L /path/to/org/latest/main/branch/lisp -Q with compiled Org repo (I ran make to compile Org into .elc) On Emacs 29 I got (0.311368927 15 0.14880696) On Emacs 28 I got (0.133921351 10 0.076385214) with uncompiled Org report (make clean; make autoloads): On Emacs 29 I got (1.040857068 41 0.5445397559999999) On Emacs 28 I got (0.5897047940000001 28 0.337317824) Clearly, compiled Org version can be loaded fairly fast on Emacs 28 and not so fast on Emacs 29. For comparison, I also tried (benchmark-run 1 (describe-variable 'emacs-version)) On Emacs 29 I got (0.076433304 4 0.030115377999999998) On Emacs 28 I got (0.081279133 3 0.035413045000000004) I consider the last test to represent the compiled built-in help-mode. 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? Best, Ihor