move-language / move

Apache License 2.0
2.24k stars 676 forks source link

[Feature Request] Evaluate Profile-Guided Optimization (PGO) and LLVM BOLT #1072

Open zamazan4ik opened 10 months ago

zamazan4ik commented 10 months ago

🚀 Feature Request

Test Profile-Guided Optimization (PGO) and LLVM BOLT performance benefits for Move language tooling.

Motivation

Is your feature request related to a problem? Please describe. It's not exactly a problem - just an idea of how to improve the project performance.

Pitch

I did a lot of Profile-Guided Optimization (PGO) benchmarks recently on different kinds of software (including many compilers and compiler-like projects) - all currently available results are located at https://github.com/zamazan4ik/awesome-pgo . According to the tests, PGO usually helps a lot for compiler-like workloads. That's why I think testing PGO would be a good idea for the Move language ecosystem.

I can suggest to do the following things:

For the Rust projects, I suggest PGO optimizing with cargo-pgo.