Skip to content

Optimize getCommandsInPath #239396

@Tyriar

Description

@Tyriar

On Windows this is what happens when requesting completions for the first time:

Image

Notice a lot of time is spent in getCommandsInPath.

The second time is faster but still a lot of time is spent in getCommandsInPath, so caching might not be working properly:

Image

This delay is definitely noticeable as it's 100-200ms just to do the work, there's more overhead of passing the results over ipc.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions