Cursor is too slow in generating code

Initially chat and code generation used to time out after going through the forums I understood that https://api2.cursor.sh/ was not reachable, flushed dns and it helped.

But now I see both of them are pretty slow and takes anywhere around 30 to 50 seconds and the applying takes a lot more time.

This is on a Mac