Re: SCons very slow on GitHub actions

Mats Wichmann <[email protected]> Wed, 30 Apr 2025 11:07:01 -0600
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
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.