[Scons-users] SCons very slow on GitHub actions

Bill Deegan bill at baddogconsulting.com
Wed Apr 30 16:09:18 EDT 2025


It could be chalked up to Microsoft making server 2025 "better".... ;)

I wonder if it's doing more anti-virus'y checking on each launched process?


On Wed, Apr 30, 2025 at 12:17 PM Leonard de Ruijter <alderuijter at gmail.com>
wrote:

> 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
> _______________________________________________
> 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/20250430/1f0aa698/attachment-0001.htm>


More information about the Scons-users mailing list