Build MongoDB with PGO
I would like to see support for PGO (and even LLVM Bolt) in the upstream. Would be awesome if MongoDB will distribute PGO-optimized binaries, so the users will be able to see an additional performance boost "for free". At least describe to the users somewhere in the documentation, how they could achieve a boost for their own scenarios with PGO.
-
zamazan4ik commented
I did the benchmarks with PGO and the results are available here: https://github.com/zamazan4ik/awesome-pgo/blob/main/mongodb.md
Looks like it's possible to achieve much better performance with PGO.
More about PGO for other applications (including a lot of other databases) you will find here - https://github.com/zamazan4ik/awesome-pgo/