alibaba / alibaba/GraphScope

Evaluate Profile-Guided Optimization (PGO)

Open
#3,173 2 comments 0 reactions 0 assignees View on GitHub
component:gie performance
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
Not a problem - an idea of how to (possibly) improve the GraphScope performance.

**Describe the solution you'd like**
I did a Profile-Guided Optimization (PGO) evaluation on different kinds of software - all current results are available at https://github.com/zamazan4ik/awesome-pgo . According to the tests, PGO helps to achieve better performance in many kinds of workloads. So it could be a good idea to try to apply PGO to GraphScope.

I can suggest to do the following things:
* Evaluate PGO on GraphScope
* If it benefits GraphScope - add a note to the GraphScope documentation about building it with PGO. In this case, users and maintainers who build their own GraphScope packages will be aware of PGO as an additional way to optimize GraphScope
* Optimize provided by GraphScope team binaries on the CI (like it's already done for other projects like Rustc)

For the Rust projects, I suggest PGO optimizing with [cargo-pgo](https://github.com/Kobzol/cargo-pgo).

In the mentioned above repo you can find additional information on multiple PGO aspects: support across languages and compilers, some PGO caveats in practice, and much more.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.