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: Sun, 05 Dec 2021 22:02:53 +0200

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sun, 05 Dec 2021 20:40:43 +0100
> Cc: emacs-devel@gnu.org
> 
> But still, even when that's done correctly, the nativecomp speedups are
> pretty elusive in real world code.  For instance, I'd expect shr
> rendering to be significantly speeded up when doing table-based layouts,
> because it's doing a lot of...  stuff.  But:
> 
> (benchmark-run 10 (eww-open-file "/tmp/foo.html"))
> 
> stubbornly takes the same amount of time with or without nativecomp,
> and it's the same way with every real bit of code I've tested (like byte
> compilation, which I'd also expect to be faster with nativecomp).

Profile it.  In my testing, 2/3 of the time is taken by GC, and
nativecomp cannot possibly speed up that.



reply via email to

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