Honest, non-cynical question: Has Profile-Guided Optimization *ever* been practically useful, in a real-world, natively compiled use case?
-
-
PGO is basically perfect for the Web browser use case because engines are full of old C++ code that abuses virtual methods like crazy.
-
Thanks! This was really insightful. :)
End of conversation
New conversation -
-
-
Firefox on Android on ARMv7 and AArch64 also saw 5% improvement on the Speedometer benchmark from clang PGO.
End of conversation
New conversation -
-
-
I remember it being about 5% yes but varied by benchmark of course. Been forever.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Iirc, Chrome also ships with PGO.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Eventually MSVC shipped a PGO backend that used more address space, which fixed the memory problem. Note also that the Firefox JS engine had PGO disabled for a long time, because it didn't help all that much, and they kept hitting weird compiler bugs.
-
It don't think it was ever clear if those were actual compiler bugs or if those were "undefined behavior gives the compiler license to fuck your day up" problems.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.