emacs-devel
[Top][All Lists]
Advanced

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

Re: [SOLVED] (was: very different start up for emacs master compared wit


From: otadmor .
Subject: Re: [SOLVED] (was: very different start up for emacs master compared with 3 month ago)
Date: Tue, 13 Aug 2019 21:46:48 +0300

When compiling emacs for daily use is it better to compile with -O? Or without -O at all?
Which optimization level is suggested?

On Tue, Aug 13, 2019, 17:29 Eli Zaretskii <address@hidden> wrote:
> From: Uwe Brauer <address@hidden>
> Date: Tue, 13 Aug 2019 12:51:33 +0200
>
>    >> | Version                                  | init file | without init |
>    >> |------------------------------------------+-----------+--------------|
>    >> | b06917a4912a60402025286d07d4a195749245c4 | 50 sec    | 1-2 sec      |
>    >> | 1d75604eaded6a8482d28d57bc8e6a4d99d5caee | 15 sec    | 1-2 sec      |
>    >>
>    >> #+end_src
>    >>
>    >>
>    >> Any idea whats up?
>    >>
>    >> How can I debug this?
>
>    > Bisect your customizations to see which part takes the lion's share of
>    > the time, I'd say.
>
> It was my fault. I bisected different commits (using mercurial)
>
> My configuration script was
>
>
> ./configure CFLAGS='-O0 -g3' --enable-checking='yes,glyphs' --enable-check-lisp-object-type --prefix=/opt/emacs27 --with-x-toolkit=athena --with-mailutils

OK, an unoptimized build is expected to be about 2.5 to 3 times slower
than the optimized one.


reply via email to

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