[Scons-users] SCons very slow on GitHub actions

Leonard de Ruijter alderuijter at gmail.com
Fri May 2 09:51:14 EDT 2025


I have just updated the pull request against scons_examples to implement 
caching:

https://github.com/SCons/scons-examples/pull/7

I'm not sure why the action doesn't run on the pr, but a run on my fork 
seems promising, see 
https://github.com/LeonarddeR/scons-examples/actions/runs/14796395909


On 5/1/2025 8:33 PM, Joseph C. Brill wrote:
>
> I’ll take a look at the log posted shortly.
>
> Are you running vcvars64.bat directly in the same environment that 
> SCons is being run at roughly the same time?
>
> See my earlier post for the skeleton processing of the vcvars64.bat.
>
> Vcvars64.bat directly calls about 16 child batch files which are 
> interrogating the windows registry, checking for directory and file 
> existence, calling vswhere, possibly calling powershell, using the 
> “where” command to search the system path for programs and libraries.  
> It is “read” intensive of the OS drive (assuming MSVC installed on the 
> OS drive). SCons itself also verifies that some of the files exist 
> which is again interrogating the OS drive file system for existence 
> and execution.  Non-trivial file system latency is going to be 
> problematic.
>
> I will run a couple of experiments here with two physical boxes (amd64 
> and an old arm64) and a couple of VMWare virtual machines. I expect 
> the physical amd64 to be the fastest, the VMWare vms to be the next 
> fastest, and the physical arm64 box to be significantly slower due to 
> the limited hardware and disk. At present, I’ m not sure of the 
> magnitude of the differences.
>
> Regards,
>
> Joe
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20250502/8751bf4b/attachment.htm>


More information about the Scons-users mailing list