Skip to content

100% CPU usage in WSL after "Gitlens: show file history" #5037

@talha5389-teraception

Description

@talha5389-teraception

Description

I have noticed that vscode extension host start using constant 100% CPU on 1 core.

This seems to happen after I use "Gitlens: Show File History" command on file few times alongside "Open Changes" icon that gets appeared within list it presents.

Able to reproduce this even on OpenVPN/easy-rsa@e5ec1ab (I cloned this few years back)

I have been able to produce this issue with just "WSL" and "gitlens" extension

Reload window doesn't bring CPU down even after disabling. I have to manually kill process for extension host and then reload window

I am not sure whether issue is with gitlens extension of vscode itself but I am at least able to produce this issue in my current workspace

GitLens Version

17.11.1

VS Code Version

Version: 1.109.5 (system setup)
Commit: 072586267e68ece9a47aa43f8c108e0dcbf44622
Date: 2026-02-19T19:43:32.382Z
Electron: 39.3.0
ElectronBuildId: 13313481
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

Git Version

git version 2.52.0

Logs, Screenshots, Screen Captures, etc

Image
Recording.2026-03-13.200421.1.mp4

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions