Re: SCons very slow on GitHub actions

Leonard de Ruijter <[email protected]> Thu, 1 May 2025 07:19:43 +0200
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============3048241731504304716==
Content-Type: multipart/alternative;
 boundary="------------H6WqY1v08RCiaQjLOi593cgI"
Content-Language: nl, en-US

This is a multi-part message in MIME format.
--------------H6WqY1v08RCiaQjLOi593cgI
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Does SCons perform extensive IO during the reading phase and if so, 
where exactly? Is that in the workspace directory, or in a particular 
cache dir.

I have tried moving the repo to a dev drive as with this action: 
https://github.com/marketplace/actions/setup-dev-drive

But that didn't make a difference.

I discovered though that when running an older SCons on server 2022, it 
started firing errors about de Visual Studio compilers not found, but 
then stopped script reading pretty quickly. So I'm pretty sure it has to 
do with the visual studio part.

On 4/30/2025 10:17 PM, Bill Deegan wrote:
> Mats - That looks like the culprit.
>
> On Wed, Apr 30, 2025 at 1:13 PM Mats Wichmann <[email protected]> wrote:
>
>     On 4/30/25 14:09, Bill Deegan wrote:
>     > 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
>     > <[email protected] <mailto:[email protected]>> 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.
>
>     At this point just flailing around, but could this be a factor?
>
>     https://news.ycombinator.com/item?id=42782553
>
>
>     _______________________________________________
>     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
--------------H6WqY1v08RCiaQjLOi593cgI
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Does SCons perform extensive IO during the reading phase and if
      so, where exactly? Is that in the workspace directory, or in a
      particular cache dir.</p>
    <p>I have tried moving the repo to a dev drive as with this action:
      <a class="moz-txt-link-freetext" href="https://github.com/marketplace/actions/setup-dev-drive">https://github.com/marketplace/actions/setup-dev-drive</a></p>
    <p>But that didn't make a difference.</p>
    <p>I discovered though that when running an older SCons on server
      2022, it started firing errors about de Visual Studio compilers
      not found, but then stopped script reading pretty quickly. So I'm
      pretty sure it has to do with the visual studio part.</p>
    <div class="moz-cite-prefix">On 4/30/2025 10:17 PM, Bill Deegan
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEyG4CGiVy+37jBd8OeNGfNRCPxQ_zcFP0VObcyyN42qDCio8A@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Mats - That looks like the culprit.</div>
      <br>
      <div class="gmail_quote gmail_quote_container">
        <div dir="ltr" class="gmail_attr">On Wed, Apr 30, 2025 at
          1:13 PM Mats Wichmann &lt;<a href="mailto:[email protected]"
            moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a>&gt;
          wrote:<br>
        </div>
        <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On
          4/30/25 14:09, Bill Deegan wrote:<br>
          &gt; It could be chalked up to Microsoft making server 2025
          "better".... ;)<br>
          &gt; <br>
          &gt; I wonder if it's doing more anti-virus'y checking on each
          launched process?<br>
          &gt; <br>
          &gt; <br>
          &gt; On Wed, Apr 30, 2025 at 12:17 PM Leonard de Ruijter <br>
          &gt; &lt;<a href="mailto:[email protected]"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">[email protected]</a>
          &lt;mailto:<a href="mailto:[email protected]"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">[email protected]</a>&gt;&gt;
          wrote:<br>
          &gt; <br>
          &gt;     Yes, I tried that option but it doesn't give extra
          insight<br>
          &gt;     unfortunately.<br>
          &gt; <br>
          &gt;     I just tried the windows-2019 image and it is way
          faster. 10 seconds<br>
          &gt;     total script reading time, compared to 70 seconds on
          2022 and 2025. The<br>
          &gt;     2019 image only has Visual Studio 2019 installed.<br>
          &gt; <br>
          &gt;     Python version (e.g. 3.13) is still slow on 2022/2025
          images.<br>
          <br>
          At this point just flailing around, but could this be a
          factor?<br>
          <br>
          <a href="https://news.ycombinator.com/item?id=42782553"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://news.ycombinator.com/item?id=42782553</a><br>
          <br>
          <br>
          _______________________________________________<br>
          Scons-users mailing list<br>
          <a href="mailto:[email protected]" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a><br>
          <a
href="https://pairlist4.pair.net/mailman/listinfo/scons-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://pairlist4.pair.net/mailman/listinfo/scons-users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
Scons-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://pairlist4.pair.net/mailman/listinfo/scons-users">https://pairlist4.pair.net/mailman/listinfo/scons-users</a>
</pre>
    </blockquote>
  </body>
</html>

--------------H6WqY1v08RCiaQjLOi593cgI--

--===============3048241731504304716==
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

--===============3048241731504304716==--