This is such an overly broad question that I'm pretty embarrassed to ask it. But I think I can narrow it down a bit.
I have a small (less than 600 lines of code) Python Azure Functions project that uses ArcGIS Python libraries. When I build and deploy this project, it can take upwards of 10 or more minutes. Admittedly, the machine this is running on isn't the greatest, but it should be speedier than that.
One thing I notice is that every time I build, it redownloads each library and any dependencies. Is there a setting in VS Code to tell it that if the dependencies already exist, not to do that? Googling around seems to find answers for Visual Studio, but not VS Code.
Edit - Decided to actually time it... Over 20 minutes. I mean there's a 20 minute jump just in one step, and we have a fast network here (and that file is pretty tiny.) I am so confused.
4:19:58 PM my-cpr2wrike-func-dev: [00:19:58+0000] Collecting arcgis==1.9.1
4:19:58 PM my-cpr2wrike-func-dev: [00:19:58+0000] Downloading arcgis-1.9.1.tar.gz (3.5 MB)
4:41:54 PM my-cpr2wrike-func-dev: [00:41:54+0000] Collecting azure-functions
--
Roger Asbury
Analyst/Programmer - Fairbanks North Star Borough