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 wrote: > > From: Uwe Brauer > > 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. > >