[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Convert README.org to plain text README while installing package
From: |
Ihor Radchenko |
Subject: |
Re: Convert README.org to plain text README while installing package |
Date: |
Sun, 05 Jun 2022 23:41:06 +0800 |
Eli Zaretskii <eliz@gnu.org> 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
- Re: [External] : Re: Convert README.org to plain text README while installing package, (continued)
- RE: [External] : Re: Convert README.org to plain text README while installing package, Drew Adams, 2022/06/05
- Re: [External] : Re: Convert README.org to plain text README while installing package, Tassilo Horn, 2022/06/06
- RE: [External] : Re: Convert README.org to plain text README while installing package, Drew Adams, 2022/06/06
- Re: Convert README.org to plain text README while installing package, Akib Azmain Turja, 2022/06/05
- Re: Convert README.org to plain text README while installing package, Yoni Rabkin, 2022/06/08
- Re: Convert README.org to plain text README while installing package, Ihor Radchenko, 2022/06/05
- Re: Convert README.org to plain text README while installing package, Eli Zaretskii, 2022/06/05
- Re: Convert README.org to plain text README while installing package, Eli Zaretskii, 2022/06/05
- Re: Convert README.org to plain text README while installing package,
Ihor Radchenko <=
- Re: Convert README.org to plain text README while installing package, Eli Zaretskii, 2022/06/05
- Re: Convert README.org to plain text README while installing package, Ihor Radchenko, 2022/06/05
- Re: Convert README.org to plain text README while installing package, Eli Zaretskii, 2022/06/05
- Re: Convert README.org to plain text README while installing package, Eli Zaretskii, 2022/06/05
- Re: Convert README.org to plain text README while installing package, Ihor Radchenko, 2022/06/05
- Re: Convert README.org to plain text README while installing package, Eli Zaretskii, 2022/06/05
- Re: Convert README.org to plain text README while installing package, Tassilo Horn, 2022/06/05
- Re: Convert README.org to plain text README while installing package, Stefan Monnier, 2022/06/05
- Re: Convert README.org to plain text README while installing package, Ihor Radchenko, 2022/06/08
- Re: Convert README.org to plain text README while installing package, Eli Zaretskii, 2022/06/08