[Scons-users] SCons very slow on GitHub actions
Leonard de Ruijter
alderuijter at gmail.com
Wed Apr 30 12:47:33 EDT 2025
Dear Mats and Bill,
First of all, enjoy your vacation! I"m not in a hurry at all!
I'm contributor to two projects using SCons:
* https://github.com/nvaccess/nvda/, an open source screen reader for
the blind and visually impaired. That's stuck to Python 3.11 for now
* https://github.com/jcsteh/osara : An accessibility for the REAPER DAW.
There SCons can run on Python 3.13 possibly, I'll test that.
I have tried the following things thus far:
- Older versions of SCons (notably 4.8.1, will try even older versions)
- Server 2025 image on Github Actions (can try 2019)
- Run in a venv with uv
- Cleaning up the path variable
- A dev drive, which should offer much higher I/O performance but no
gain for Scons
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.
Regards,
Leonard
On 4/28/2025 10:29 PM, Mats Wichmann wrote:
> On 4/28/25 14:05, Bill Deegan wrote:
>> What have you tried thus far?
>>
>> Have you run with : --debug=time ?
>> I'm on vacation at the moment, so don't have a bunch of time or
>> resources to take a look at this until later in the week.
>>
>> Is this a commercial project? or open source and free?
>>
>> How complicated is setting up a win11 machine to do your build?
>>
>> Any reason to limit yourself to python 3.11?
>> There have been gains in performance with 3.12 and 3.13 as far as I
>> know.
>> Might be worth moving forward if you can?
>
> if I try a couple of the examples on windows here, the "SConsrcipt
> file execution time" is around 0.25 seconds, not the 57 seconds that
> the github action was showing.
>
> _______________________________________________
> 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