swiftlang / sourcekit-lsp

Language Server Protocol implementation for Swift and C-based languages
Apache License 2.0
3.3k stars 273 forks source link

SourceKit-LSP use of CPU #1461

Closed WillyAguilera1977 closed 2 months ago

WillyAguilera1977 commented 3 months ago

Swift version

Swift 5.10

Platform

Windows 10

Editor

Visual Studio Code with Swift extension 1.10.0

Does the issue reproduce with Swift 6?

I didn’t try

Description

SourceKit-LSP in Visual Studio Code for Windows constantly uses the CPU at 14 15 percent, it doesn't stop.

Steps to Reproduce

When you open a Swift project or folder and open a file, SourceKit-LSP uses the CPU at 14 or 15 percent and never stops.

Logging

No response

ahoppen commented 3 months ago

Synced to Apple’s issue tracker as rdar://129451482

ahoppen commented 2 months ago

This seems to be a duplicate of https://github.com/apple/swift-corelibs-libdispatch/issues/820.