So I completely removed all (previous) installations (incl. all mentions of ‘python’ in PATH) of Python from the system. I then freshly downoaded 3.9.7 and installed it. When I disable the builtin python in vsc both “instances” (powershell and vsc) need a bit over 800ms for --version. PIO system info says the folowing:
pio system info
PlatformIO Core 5.1.1
Python 3.9.7-final.0
System Type windows_amd64
Platform Windows-10
File System Encoding utf-8
Locale Encoding cp1252
PlatformIO Core Directory C:\Users\tobia.platformio
PlatformIO Core Executable C:\Users\tobia\AppData\Roaming\Python\Python39\Scripts\platformio.exe
Python Executable C:\Program Files\Python39\python.exe
Global Libraries 24
Development Platforms 11
Tools & Toolchains 49
If I enable the builtin python thingsstay the same:
PS […]\sx127xAPRS> pio system info
PlatformIO Core 5.1.1
Python 3.9.7-final.0
System Type windows_amd64
Platform Windows-10
File System Encoding utf-8
Locale Encoding cp1252
PlatformIO Core Directory C:\Users\tobia.platformio
PlatformIO Core Executable C:\Users\tobia\AppData\Roaming\Python\Python39\Scripts\platformio.exe
Python Executable C:\Program Files\Python39\python.exe
Global Libraries 24
Development Platforms 11
Tools & Toolchains 49
Runtimes are now all a bit over 800ms (about 300…500ms w/ disabled security). So I think radically reinstalling python “fixed” things…? Still, building feels way quicker and snappier on Ubuntu. Maybe I can build an example project tomorrow and do a little performance benchmarking.