-
Notifications
You must be signed in to change notification settings - Fork 260
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
Improving performance with PGO #942
Comments
I am a PGO contributor:) There is no action item on ccls side. The time is mostly spent in Clang. If Clang is optimized, ccls will get speedup. |
@MaskRay Am I correct, that you performed non-PGO vs PGO benchmarks on ccls somewhen earlier and proved that PGO does not have an (observable) effect on ccls? I mean applying PGO to the ccls codebase itself, not on Clang. If yes, could you share please the results? |
@zamazan4ik PBO is used to accelerate code execution, and currently the most CPU consuming scenario for ccls is when processing C++files (aka index), which is mainly due to the effectiveness of libclang's code. I believe that PBO on CCLs will not improve the user experience Perhaps it can improve the performance of finding references, but currently I have not encountered any performance issues with ccls when find references |
Hi!
Recently I did benchmarks for Profile-Guided Optimization (PGO) on Clangd (link). Since the results show improving performance in ~20%, I think the same thing could be applied to
ccls
as well.More about PGO applications you can read here.
The text was updated successfully, but these errors were encountered: