Performance with AWS CDK in WSL #6984
Unanswered
arjentraas
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Do you have some example code? We can analyze why it's taking so long. CDK was a problem in the past with taking lots of memory with the amount of docstrings it provided, but I don't recall it being slow. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Developing Python in VS Code with Windows Subsystem for Linux (WSL) is the best Python development experience for me so far.
The only exception is writing infrastructure as code using the Cloud Development Kit (CDK) from Amazon Web Services (AWS). Pylance is struggling a lot to load type hints, auto imports and syntax highlighting. It may take up to 10 seconds to load that kind of stuff. It even crashes if I write to much code in a short time window.
Switching from WSL to Windows helps a bit. Pylance speeds up a little, while other things slow down, so I end up accepting the CDK performance hit and reverting to WSL.
These log entries show up a lot:
Anyone have the same experience? Or even better, a solution?
Beta Was this translation helpful? Give feedback.
All reactions