Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Extremely poor performance navigating Python codebase
Steps to Reproduce
- Upgrade to the latest version of Cursor.
- Try to navigate a Python codebase which already existed, such as finding references to a class method
- Performance is poor, sometimes taking a minute to complete.
Expected Behavior
Performance should be comparable to before the upgrade
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.5.11
VSCode Version: 1.99.3
Commit: 2f2737de9aa376933d975ae30290447c910fdf40
Date: 2025-09-05T03:48:32.332Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
Yes - Cursor is unusable
Hi @Robert_Blankenship, could you try adding paths to cursorpyright.analysis.exclude
? This will limit the # of files that are getting analyzed, which should help improve performance.
I didn’t need to exclude any paths before. Could you explain why this is necessary now?
Also, it would be good to provide guidelines for how many Python files Cursor supports.
We don’t have a hard limit on the # of files; it will depend on the resources of your computer.
The implementation in the new extension is different, so having excluded folders will help with performance.
Could you provide any info about how to debug it? Logs to look for? How to know which folders are causing the problem?
TBH, I would prefer to revert, if possible.
The “Cursor - Pyright” and “basedpyright” output consoles would contain logs for the Python language server.
Even after reducing it to 800 files it’s still slow:
[Info - 12:30:07 PM] Found 837 source files
And that’s after ignoring my .venv
folder, which doesn’t feel super great as I’d like to freely navigate between project source and dependencies
+1. Me and my team having same issue post update. Unusable unfortunately. We have a python mono-repo & pretty sure any enterprise level company writing python code outside of a pet project will hit this if the performance is bad on 800 files. Especially because my dev machine is pretty beefy…
@ravirahman :
- Why was Pylance removed in favor of Anysphere Python
- Is Cursor aware of this issue and the severity and is there any plan / path to improve the performance? Need to know so I can advise my team how much to invest in other alternatives.
I do not have this issue with any other IDE which suggests the performance is miles off on Anysphere
1 Like