Poor performance for Python code navigation after upgrade

Was experiencing the same issue. Uninstalling the Python extension and installing pyrefly and ty as suggested here Cursor pyright slooooooow - #7 by ravirahman fixed it for me