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 "better".... ;)</div><div><br></div><div>I wonder if it's d= oing more anti-virus'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 <<a href=3D"mailto:[email protected]">alderuijter@gma= il.com</a>> 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'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> > On 4/30/25 10:47, Leonard de Ruijter wrote:<br> ><br> >> I have a Win11 machine myself, and there everything runs smooth. S= o <br> >> it is certainly a Github actions variable causing a problem here. = <br> >> However the logging --debug=3Dtime offers is pretty limited, i.e. = it <br> >> doesn't give insight in the script reading progress, only the = total <br> >> time per script.<br> > There's an additional debug option that tracks things per-sconscri= pt, <br> > after someone got interested in that somewhere in the past two years. = <br> > It kinda sounds like you're already using it from your wording, bu= t <br> > just in case:<br> ><br> > --debug-=3Dtime,sconscript<br> ><br> > SCons itself doesn't track things at a more granular level than th= at, <br> > you'd have to set up some kind of profiling, and then figure out h= ow <br> > to extract that data from the action.<br> ><br> ><br> > _______________________________________________<br> > Scons-users mailing list<br> > <a href=3D"mailto:[email protected]" target=3D"_blank">Scons-users= @scons.org</a><br> > <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==--