emacs-devel
[Top][All Lists]
Advanced

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

Re: How do I use `native-comp-compiler-options`?


From: Emanuel Berg
Subject: Re: How do I use `native-comp-compiler-options`?
Date: Mon, 04 Sep 2023 02:23:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

StrawberryTea wrote:

> gcc (Gentoo 14.0.0 p, commit d0b55776a4e1d2f293db5ba0e4a04aefed055ec4)
> 14.0.0 20230903 (experimental) a7d052b3200c7928d903a0242b8cfd75d131e374
>
> I'm not sure if it's because my benchmarks are too trivial
> or because I have `native-comp-speed` 3 so there is not much
> to optimize beyond that. I definitely do notice the numbers
> change more when I recompile Emacs itself with different
> CFLAGS and I think I did notice a difference bumpin
> `native-comp-speed` up from 2 to 3 but not from setting
> `native-comp-compiler-options`.

See if you can install elisp-benchmarks from GNU ELPA or
the web:

  https://elpa.gnu.org/packages/elisp-benchmarks.html

Then you can clearly see if it makes a difference what speed
native-compile is set to.

You can also try 0 and 1, and report the results here, if
you like.

I'm on gcc (Debian 10.2.1-6) 10.2.1 20210110 - I think that
(too old version of gcc) was the reason Emacs and the computer
got nonresponsive when trying `native-comp-speed' at 3.

I don't know if it is trivial to install a newer version of
gcc from scratch on Debian, maybe I'll try it tonight.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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