Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate Profile-Guided Optimization (PGO) #898

Closed
zamazan4ik opened this issue Aug 30, 2023 · 1 comment
Closed

Evaluate Profile-Guided Optimization (PGO) #898

zamazan4ik opened this issue Aug 30, 2023 · 1 comment

Comments

@zamazan4ik
Copy link

What's the problem?
It's not a problem. It's an idea of how to (possibly) improve Bloop's performance.

What's the solution?
Recently I did many PGO benchmarks on multiple projects - the results are available here. There you can find many possibly related to Bloop applications. E.g. I have PGO results for Tantivy, which is used by Bloop.

We need to evaluate PGO applicability to Bloop (the bleep part, I guess). And if it helps to achieve better performance - add a note to the documentation about that. In this case, users and maintainers will be aware of another optimization opportunity for Bloop. Also, PGO integration into the build scripts can help users and maintainers easily apply PGO for their own workloads.

After PGO, I can suggest evaluating LLVM BOLT as an additional optimization step after PGO.

For the Rust projects, I recommend starting with cargo-pgo - it makes easier PGO optimization in many cases.

@ggordonhall
Copy link
Contributor

Hi @zamazan4ik. While this sort of optimisation might help improve bloop's performance, our largest bottlenecks are generating embeddings when indexing and calling OpenAI GPT when querying. At the moment we're focussing on these!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants