[Scons-users] SCons very slow on GitHub actions

Leonard de Ruijter alderuijter at gmail.com
Wed Apr 30 15:17:33 EDT 2025


Yes, I tried that option but it doesn't give extra insight unfortunately.

I just tried the windows-2019 image and it is way faster. 10 seconds 
total script reading time, compared to 70 seconds on 2022 and 2025. The 
2019 image only has Visual Studio 2019 installed.

Python version (e.g. 3.13) is still slow on 2022/2025 images.


On 4/30/2025 7:07 PM, Mats Wichmann wrote:
> On 4/30/25 10:47, Leonard de Ruijter wrote:
>
>> I have a Win11 machine myself, and there everything runs smooth. So 
>> it is certainly a Github actions variable causing a problem here. 
>> However the logging --debug=time offers is pretty limited, i.e. it 
>> doesn't give insight in the script reading progress, only the total 
>> time per script.
> There's an additional debug option that tracks things per-sconscript, 
> after someone got interested in that somewhere in the past two years. 
> It kinda sounds like you're already using it from your wording, but 
> just in case:
>
> --debug-=time,sconscript
>
> SCons itself doesn't track things at a more granular level than that, 
> you'd have to set up some kind of profiling, and then figure out how 
> to extract that data from the action.
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users


More information about the Scons-users mailing list