emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enabling native compilation by default when libgccjit is present


From: Eli Zaretskii
Subject: Re: Enabling native compilation by default when libgccjit is present
Date: Sat, 04 Dec 2021 09:48:46 +0200

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Eli Zaretskii <eliz@gnu.org>,  emacs-devel@gnu.org,  Andrea Corallo
>  <akrl@sdf.org>
> Date: Sat, 04 Dec 2021 03:48:18 +0100
> 
> This reminds me of something I've been wondering about, but never
> actually looked into.  One of the things I was expecting nativecomp to
> make faster is byte compilation, but it doesn't actually seem to make
> any difference, which I find really surprising.  Here's my test case:
> 
> $ rm lisp/gnus/*.elc lisp/org/*.elc ; time make -j8
> 
> This is around 10% slower with nativecomp than without, which just seems
> backwards.

IME, byte compilation gets significantly faster once bytecomp.el,
byte-opt.el, comp.el and comp-cstr.el are natively-compiled.  But I
never benchmarked that, so it's just an impression from watching the
compilation run.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]