GaijinEntertainment / DagorEngine

Dagor Engine and Tools source code from Gaijin Games KFT
Other
2.15k stars 268 forks source link

Evaluate using Profile-Guided Optimization (PGO) #1

Open zamazan4ik opened 10 months ago

zamazan4ik commented 10 months ago

Hi!

I am collecting all materials (benchmarks, articles, stories, showcases, etc.) about Profile-Guided Optimization (PGO) across different applications here. I am sure you will be able to find helpful information regarding PGO in different application domains.

Related to the gamedev domains, I suggest you look at the following things:

According to the materials above, I think trying to optimize DagorEngine with PGO would be a good idea.

We need to check the PGO effects on DagorEngine, and if it works well - write a note in the DagorEngine documentation (at least in the README file, I guess?) about building with PGO. I'd appreciate your providing an easy way to build DagorEngine with PGO (e.g. via custom build options in the build scripts), and experienced users will be able to do it on their own for their own usage scenarios. Also, optimizing prebuilt binaries with PGO would be a nice thing to have (if it's possible to prepare a generic enough workload).

Seems like the main target platform is Windows so I can suggest starting looking at MSVC documentation about PGO.