|
From: | Maxim Cournoyer |
Subject: | [bug#38619] Byte compilation of Emacs autoloads |
Date: | Thu, 27 Feb 2020 16:53:52 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello Pierre, Pierre Neidhardt <address@hidden> writes: I've now tested this change with the extensive manifest (attached). I've built two profiles, like this: (before change) ./pre-inst-env guix package -m emacs-pkg.txt -p /tmp/emacs-ref (after change) ./pre-inst-env guix package -m emacs-pkg.txt -p /tmp/emacs-byte-compiled Then proceeded to benchmark them like: --8<---------------cut here---------------start------------->8--- env -i sh -c "source /tmp/emacs-ref/etc/profile && time emacs --batch --eval '()'" --8<---------------cut here---------------end--------------->8--- Which returned: --8<---------------cut here---------------start------------->8--- Loading /gnu/store/ipfaivbqjxfnda970w558vpihd84lqwi-profile/share/emacs/site-lisp/treepy-autoloads.el (source)... Loading /gnu/store/ipfaivbqjxfnda970w558vpihd84lqwi-profile/share/emacs/site-lisp/ts-autoloads.el (source)... Loading /gnu/store/ipfaivbqjxfnda970w558vpihd84lqwi-profile/share/emacs/site-lisp/tuareg-autoloads.el (source)... Eager macro-expansion failure: (file-missing "Searching for program" "No such file or directory" "git") Searching for program: No such file or directory, git real 0m0.406s user 0m0.361s sys 0m0.044s --8<---------------cut here---------------end--------------->8--- Now with the patches here: --8<---------------cut here---------------start------------->8--- Loading /gnu/store/l09fascj5xjhbgi3nzc1bhrprdy44y9g-profile/share/emacs/site-lisp/treepy-autoloads... Loading /gnu/store/l09fascj5xjhbgi3nzc1bhrprdy44y9g-profile/share/emacs/site-lisp/ts-autoloads... Loading /gnu/store/l09fascj5xjhbgi3nzc1bhrprdy44y9g-profile/share/emacs/site-lisp/tuareg-autoloads.el (source)... Eager macro-expansion failure: (file-missing "Searching for program" "No such file or directory" "git") Searching for program: No such file or directory, git real 0m0.287s user 0m0.251s sys 0m0.036s --8<---------------cut here---------------end--------------->8--- That's a decent speedup :-) I'll push this to master shortly. Maxim
emacs-pkg.txt
Description: emacs packages manifest
0001-gnu-emacs-Byte-compile-the-site-lisp-directory.patch
Description: Text Data
0002-emacs-build-system-Byte-compile-the-autoload-files.patch
Description: Text Data
0003-gnu-emacs-Fix-comment.patch
Description: Text Data
0004-gnu-emacs-cl-generic-Disable-byte-compilation-of-its.patch
Description: Text Data
0005-gnu-emacs-sly-macrostep-Remove-the-enable-autoloads-.patch
Description: Text Data
0006-gnu-emacs-sly-quicklisp-Remove-the-enable-autoloads-.patch
Description: Text Data
0007-gnu-emacs-sly-named-readtables-Disable-byte-compilat.patch
Description: Text Data
signature.asc
Description: PGP signature
[Prev in Thread] | Current Thread | [Next in Thread] |