Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension issue: vscode.git high usage, maybe blocking interaction on file load #127809

Closed
MrAlexWeber opened this issue Jul 1, 2021 · 1 comment

Comments

@MrAlexWeber
Copy link

  • Issue Type: Bug
  • Extension Name: git
  • Extension Version: 1.0.0
  • OS Version: Darwin x64 20.5.0
  • VS Code version: 1.57.1

Hi, I'm noticing a very sluggish editor when navigating between files when the Git extension is enabled.

I ran an extension host profile, where I switched between several files and tried to navigate with up/down keypresses. It took 1-2 seconds on loading the file before I saw cursor movement.

In the extension profile, Git shows:

  • Activation: 1032 ms
  • Profile: 10805.57 ms

The extension host profile is attached.
vscode-git-profile-CPU-20210701T180844.084Z.cpuprofile.txt

{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 85,
		"activateCallTime": 947,
		"activateResolvedTime": 1504,
		"activationReason": {
			"startup": false,
			"extensionId": {
				"value": "vscode.git",
				"_lower": "vscode.git"
			},
			"activationEvent": "*"
		}
	},
	"runtimeErrors": []
}
@MrAlexWeber
Copy link
Author

Turns out, this may be an issue with VSCodium, not the plugin. I'll close and reopen if needed.
Link to VSCodium issue for posterity: VSCodium/vscodium#718

@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant