https://bugs.kde.org/show_bug.cgi?id=490651

--- Comment #9 from Mark Wielaard <m...@klomp.org> ---
Here are the timings on two of my machines (all on fresh checkouts)

= Intel Core i7-10850H

./autogen.sh && ./configure && time make -j8
real    0m3.100s
user    0m5.273s
sys     0m4.253s

./autogen.sh && ./configure --enable-lto && time make -j8
real    3m37.978s
user    25m41.657s
sys     1m26.144s

./autogen.sh && ./configure --enable-lto CFLAGS="-flto-partition=one" && time
make -j8
real    9m0.954s
user    16m13.692s
sys     0m37.233s

= Intel Core i9-9900

./autogen.sh && ./configure && time make -j12
real    0m1.522s
user    0m1.930s
sys     0m1.142s

./autogen.sh && ./configure --enable-lto && time make -j12
real    1m58.869s
user    20m19.670s
sys     1m3.180s

./autogen.sh && ./configure --enable-lto CFLAGS="-flto-partition=one" && time
make -j12
real    7m8.945s
user    14m1.536s
sys     0m33.254s

The (default) lto builds are ~70 times slower than none-lto builds.
And the -flto-partition=one builds are again about ~3 times slower than the
default lto builds.

It is definitely noticeable for me. And I have seen much longer build times on
some non-x86_64 arches.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to