Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Long analysis on changes with large file in dependency graph #1502

Closed
@CMLL

Description

@CMLL

Every time a change to a file in the project I'm working is detected it triggers a Analysis in background with a small number of items, around ~120. This sometimes finish quickly but other times it takes a long time to finish and seems to get stuck until I reload the window completely.

The trigger seems to happen regardless if the changes are saved or not in the file, just inserting a new line without any text is enough to trigger the analysis. This is a bit annoying since makes constantly burst a cpu usage that sometimes goes away but sometimes it gets stuck. Also I've noticed that most of the times when this quick analysis is running it affects the results of the language server in other parts of the file, sometimes they return but pretty slowly, other times they don't return at all.

I've enabled trace when this happens but I can't see any exception that hangs the analysis. Is there a configuration option to prevent the analysis to happen that often? Maybe so it gets triggered when a file is saved?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions