On my work laptop (with a VPN connectoin), the python extension and interactive window/kernel are starting really slow, after restarting the kernel or VSCode a few times. The download speed of the internet connection is 250mbps and the upload speed 25mbps (that's not the problem).
After I restart my laptop, everything runs fast (kernel is started in a few seconds). Restarting VSCode doesn't have the same effect.
starting put slow execution of code lines
I don't know were to look to find te problem.
Does anyone know what the problem might be? If you need more information, i'd like to provide it!
Make sure your notebook is of small size. I had the same problem with a notebook that had many plots inside. Clearing these plots sped things up for me.
My guess is that whenever you make a change to a big notebook, vs code will upload a lot of things which then slows down execution.