basedpyright icon indicating copy to clipboard operation
basedpyright copied to clipboard

Extension causes high cpu load

Open SVDRV opened this issue 4 months ago • 1 comments

  • Issue Type: Performance
  • Extension Name: basedpyright
  • Extension Version: 1.32.1
  • OS Version: Windows_NT x64 10.0.26100
  • VS Code version: 1.104.3

:warning: Make sure to attach this file from your home-directory: :warning:file:///e%3A/SPARRO~1/detachhead.basedpyright-unresponsive.cpuprofile.txt

Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

SVDRV avatar Nov 02 '25 23:11 SVDRV

looks like you just pasted a local path to that cpuprofile file instead of uploading it. can you provide the file itself please? otherwise there's not much info here i can use to try to narrow down your issue.

some other info that might be helpful:

  • how big is your project? roughly how many files / lines of code etc
  • what settings are you using (in pyproject.toml, pyrightconfig.json or in vscode's settings.json)
  • how long does it take to run basedpyright in the cli?
  • do you have the same issue on smaller projects? maybe try with a test project with one file in it

DetachHead avatar Nov 05 '25 09:11 DetachHead