Python extension (anysphere.cursorpyright) seems quite slow

Describe the Bug

It seems very slow in analyzing files. Here is a log output for analyzing a file that is 899 lines long, 1 class, 18 methods

[Info - 6:06:49 PM] BG: [BG(1)] Long operation: checking: file:///workspace/elate/cloud_functions/inges/processors/org_administration.py (9822ms)
[Info - 6:06:49 PM] BG: [BG(1)] Long operation: analyzing: file:///workspace/elate/cloud_functions/ingest/processors/org_administration.py (9827ms)
[Info - 6:06:56 PM] BG: [BG(1)] Long operation: checking: file:///workspace/elate/cloud_functions/ingest/processors/org_administration.py (4216ms)
[Info - 6:06:56 PM] BG: [BG(1)] Long operation: analyzing: file:///workspace/elate/cloud_functions/ingest/processors/org_administration.py (4222ms)

Steps to Reproduce

Create a python file of similar length and structure. Make an edit, save, and let the analyze operation run.

Expected Behavior

I would expect it to run much faster. We were using pylance (which I know is not supported) and it seemed to run much faster.

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:59:43.242Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.12.10-76061203-generic

Does this stop you from using Cursor

No - Cursor works, but with this issue