#Anybody who had done benchmarks on enabling LTO and PGO?
1 messages · Page 1 of 1 (latest)
Benchmarks of what?
There is compiler benchmark on github (i dont remember how its called), you can check it
You cant measure performance of daily usage lol
idk
how fast firefox opens?
if it doesn't increase performance
I ain't doubling my compile times then
Its always slow for me
I had pgo and lto enabled globally, but then i realized that i cant compile gcc
LTO doesn't really slow down compilation, so i will enable it globally ig
I did a rough one
Yes it does
2 to 3 times longer
And thin can
Recorded with gcc
Thin by default
https://youtu.be/umiVJdnZxMw @odd cairn
People over the Internet say you can make your web browser even faster than Mozilla can, let's put that to the test today.
Twitch - https://twitch.tv/immoloism
Patreon - https://patreon.com/Immolo157
Donate - https://streamelements.com/immoloism-0c46e/tip
Merch - https://store.streamelements.com/immoloism
Thumbnail Image - Created by Sebast...
LTO and GCC is the worst combination ever
Explain
I cant compile gcc because it's LTO implementation sucks ass
It takes over five hours to compile three stages
That's you I'm afraid the rest of us have no issue
Pgo on GCC doesn't seem to do much though
I'm curious now so benchmarks incoming
quick question
have you tried with enabling rust optimizations?
so like this:
RUSTFLAGS="-C target-cpu=native -C opt-level=2"
Why would you lower the opt level lower then default
Well, if you could google, you could find answer immediately
Yep
We dont explain this well in the rust article thougj
@left hull mind updating please?
You mean wiki page?
Yes please
❤️
ah ok
I did a test with chromium. Default speeds where ~64k on silver bench. When I compiled with o3 pgo and lto I got 72k
The compile also took 3 hours longer fyi
Web browsers are normally worth it
My chromium simply segfaulted after 13 hours of compilation
For FFmpeg, only SVT-AV1 experiences a perf uplift worth a damn with ThinLTO, about 30%.