Evaluate Profile-Guided Optimization (PGO) #403
zamazan4ik
started this conversation in
Ideas
Replies: 3 comments
-
maybe one day... not quite a priority for me right now. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe will be better to leave the issue open? In this case, maybe someone from the community will take the issue and perform all corresponding benchmarks and other PGO-related stuff. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sure, will do. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
There are a lot of examples of different software, where Profile-Guided Optimization (PGO) helps a lot with performance - you can check it here. E.g. in this list are a lot of databases like Redis, MongoDB, and PostgreSQL. For CR-SQLite the most interesting results I think the PGO results for SQLite.
We need to check the PGO effects on
cr-sqlite
, and if it works well - write a note in thecr-sqlite
documentation about PGO (like it's already done for ClickHouse). I'd appreciate your providing an easy way to buildcr-sqlite
with PGO, and experienced users will be able to do it on their own for their own usage scenarios. Another option is to optimize thecr-sqlite
builds with a generic-enough profile. Providing PGO-optimized binaries could be a trickier task (since it requires preparing a good-enough profile) but as an option would be great to see too.For the Rust projects, I recommend starting with cargo-pgo.
Beta Was this translation helpful? Give feedback.
All reactions