Evaluate using Profile-Guided Optimization (PGO) for Supabase's Rust projects #28584
Unanswered
zamazan4ik
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi!
Recently I did many Profile-Guided Optimization (PGO) benchmarks on multiple projects (including many databases like PostgreSQL, ClickHouse, Redis, MongoDB; compilers, parsers, network proxies, etc.) - the results are available here. Since the performance improvement from enabling PGO is big enough, I think it's worth trying to apply PGO for Supabase projects like
pg_replicate,pg_graphql,edge-runtime(possibly there are others).I can suggest the following things to do:
After PGO, I can suggest evaluating PLO with LLVM BOLT as an additional optimization step. However, I recommend starting with PGO.
For Rust projects, I have several useful links:
Thank you.
All reactions