Skip to content

Semantic highlighting consume a lot of CPU #394

Closed

Description

@CppCXY

image
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.
image

Activity

  1. CppCXY commented on Jul 1, 2024

    @CppCXY
    ContributorAuthor

    1k_row_code.zip
    here the test script

  2. angelozerr commented on Jul 1, 2024

    @angelozerr
    Contributor

    Thanks for reporting your issue. Your CPU problem comes from too when yiu close inspector?

  3. CppCXY commented on Jul 1, 2024

    @CppCXY
    ContributorAuthor

    Thanks for reporting your issue. Your CPU problem comes from too when yiu close inspector?

    When I close inspector: the cpu keep 40%:
    image

  4. angelozerr commented on Jul 1, 2024

    @angelozerr
    Contributor

    It is so bad -( Let me investigate your problem.
    But do semantic tokens work for you?

  5. CppCXY commented on Jul 1, 2024

    @CppCXY
    ContributorAuthor

    But is semantic tokens is working for you?

    It's working fine!

  6. self-assigned this
    on Jul 1, 2024
  7. added
    bug
    on Jul 1, 2024
  8. added this to the 0.3.0 milestone on Jul 1, 2024
  9. changed the title [-]semantic highlighting consume a lot of CPU[/-] [+]Semantic highlighting consume a lot of CPU[/+] on Jul 1, 2024
  10. added a commit that references this issue on Jul 1, 2024
    f52ca37
  11. angelozerr commented on Jul 1, 2024

    @angelozerr
    Contributor

    @CppCXY could you re-install nighly build and test again.

    If you have again CPU problem, please re-open the issue.

  12. added a commit that references this issue on Jul 1, 2024
    918187b
  13. angelozerr commented on Jul 2, 2024

    @angelozerr
    Contributor

    @CppCXY could you re-install nighly build and test again.

    If you have again CPU problem, please re-open the issue.

    @CppCXY is it working better?

  14. CppCXY commented on Jul 2, 2024

    @CppCXY
    ContributorAuthor

    @CppCXY is it working better?

    No performance issues have been found for the time being.

  15. angelozerr commented on Jul 2, 2024

    @angelozerr
    Contributor

    @CppCXY is it working better?

    No performance issues have been found for the time being.

    Thats great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugsemantic tokens

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions