+1 for this. I do all of my Python development in Cursor and I’ve also been experiencing severe lags/delays with inline suggestions since switching to the anysphere Python extension (v1.0.7). It has really changed my editing experience - is there a fix planned soon? If not, I may switch back to the old ms python extension.
fwiw, I disabled type checking (see setting below), this eliminated the problem. I think the issue is that we are not using type hints in our code base (we do in some rare cases). This means pyright has to try to figure out what the types should be. We just need to decide if we want to use type hints or not, and, if we do, we need to start using them and then I think pyright will not need to work as hard… I hope.
These language servers are implemented in Rust, so I would expect their performance to be much better. However, they do not yet support the same configuration options.