Re: SCons very slow on GitHub actions

Bill Deegan <[email protected]> Wed, 30 Apr 2025 13:09:18 -0700
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CHvxvh3YMRnqLd4jhbPCyHpRWmwcsxo-kNLvmqfe0goxA@mail.gmail.com>
--===============7822450429300430137==
Content-Type: multipart/alternative; boundary="000000000000acd6db0634047edf"

--000000000000acd6db0634047edf
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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=E2=80=AFPM Leonard de Ruijter <alderuijter@gm=
ail.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=3Dtime 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-=3Dtime,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
> > [email protected]
> > https://pairlist4.pair.net/mailman/listinfo/scons-users
> _______________________________________________
> Scons-users mailing list
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>

--000000000000acd6db0634047edf
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>It could be chalked up to Microsoft making server 202=
5 &quot;better&quot;.... ;)</div><div><br></div><div>I wonder if it&#39;s d=
oing more anti-virus&#39;y checking on each launched process?</div><div><br=
></div></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=
=3D"ltr" class=3D"gmail_attr">On Wed, Apr 30, 2025 at 12:17=E2=80=AFPM Leon=
ard de Ruijter &lt;<a href=3D"mailto:[email protected]">alderuijter@gma=
il.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex">Yes, I tried that option but it doesn&#39;t give extra insight unfort=
unately.<br>
<br>
I just tried the windows-2019 image and it is way faster. 10 seconds <br>
total script reading time, compared to 70 seconds on 2022 and 2025. The <br=
>
2019 image only has Visual Studio 2019 installed.<br>
<br>
Python version (e.g. 3.13) is still slow on 2022/2025 images.<br>
<br>
<br>
On 4/30/2025 7:07 PM, Mats Wichmann wrote:<br>
&gt; On 4/30/25 10:47, Leonard de Ruijter wrote:<br>
&gt;<br>
&gt;&gt; I have a Win11 machine myself, and there everything runs smooth. S=
o <br>
&gt;&gt; it is certainly a Github actions variable causing a problem here. =
<br>
&gt;&gt; However the logging --debug=3Dtime offers is pretty limited, i.e. =
it <br>
&gt;&gt; doesn&#39;t give insight in the script reading progress, only the =
total <br>
&gt;&gt; time per script.<br>
&gt; There&#39;s an additional debug option that tracks things per-sconscri=
pt, <br>
&gt; after someone got interested in that somewhere in the past two years. =
<br>
&gt; It kinda sounds like you&#39;re already using it from your wording, bu=
t <br>
&gt; just in case:<br>
&gt;<br>
&gt; --debug-=3Dtime,sconscript<br>
&gt;<br>
&gt; SCons itself doesn&#39;t track things at a more granular level than th=
at, <br>
&gt; you&#39;d have to set up some kind of profiling, and then figure out h=
ow <br>
&gt; to extract that data from the action.<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Scons-users mailing list<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_blank">Scons-users=
@scons.org</a><br>
&gt; <a href=3D"https://pairlist4.pair.net/mailman/listinfo/scons-users" re=
l=3D"noreferrer" target=3D"_blank">https://pairlist4.pair.net/mailman/listi=
nfo/scons-users</a><br>
_______________________________________________<br>
Scons-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Scons-users@scon=
s.org</a><br>
<a href=3D"https://pairlist4.pair.net/mailman/listinfo/scons-users" rel=3D"=
noreferrer" target=3D"_blank">https://pairlist4.pair.net/mailman/listinfo/s=
cons-users</a><br>
</blockquote></div>

--000000000000acd6db0634047edf--

--===============7822450429300430137==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users

--===============7822450429300430137==--