After more test, most of this time is taken by "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -prerelease latest -format json -utf8 -find "**\bin\HostX64\x64\cl.exe"
My guess is the ** pattern that may search in far too many places :/
For instance this job on CI takes 537.18s for a pip install + pytest: https://github.com/elijahr/python-autopxd2/actions/runs/10784358066/job/29920722125
After more test, most of this time is taken by
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -prerelease latest -format json -utf8 -find "**\bin\HostX64\x64\cl.exe"
My guess is the
**
pattern that may search in far too many places :/