 Does semantic highlighting consume a lot of CPU? I see it trying to refresh once every second. After I turn it off, the CPU drops to 7%, but that's still a lot. 
Activity
CppCXY commentedon Jul 1, 2024
1k_row_code.zip
here the test script
angelozerr commentedon Jul 1, 2024
Thanks for reporting your issue. Your CPU problem comes from too when yiu close inspector?
CppCXY commentedon Jul 1, 2024
When I close inspector: the cpu keep 40%:

angelozerr commentedon Jul 1, 2024
It is so bad -( Let me investigate your problem.
But do semantic tokens work for you?
CppCXY commentedon Jul 1, 2024
It's working fine!
[-]semantic highlighting consume a lot of CPU[/-][+]Semantic highlighting consume a lot of CPU[/+]fix: Semantic highlighting consume a lot of CPU
angelozerr commentedon Jul 1, 2024
@CppCXY could you re-install nighly build and test again.
If you have again CPU problem, please re-open the issue.
fix: Semantic highlighting consume a lot of CPU
angelozerr commentedon Jul 2, 2024
@CppCXY is it working better?
CppCXY commentedon Jul 2, 2024
No performance issues have been found for the time being.
angelozerr commentedon Jul 2, 2024
Thats great