[Scons-users] FW: SCons building M4 targets comparatively slowly.

Tony Peter Long tony.peterlong at nxp.com
Mon Mar 25 22:50:34 EDT 2019


Hello all.

My apologies for neglecting to respond sooner, but I was unexpectedly reassigned to another task. When I finally did return to this issue, I found that it had appeared to resolve itself after restarting my machine; the build time was now very comparable to Make (5.4s). Thinking that the issue might perhaps be related to one or more other applications I had been running in the meantime hogging resources, I decided to leave the problem and work on something else. This morning, after allowing my machine to run for several days without restart, I tried again, and lo and behold, the build now took about 29s. Feeling confident I was honing in on the issue, I quickly restarted my machine and tried another build. 

It still took 24 seconds.

So now I'm right back where I began. Just to reiterate, I always check Make as well for comparison and it consistently takes about 4 or 5 seconds no matter the conditions.

As requested last time, I have created a github repo with my SCons files and source files of equivalent length: https://github.com/TonyPeterLong/scons 

FYI, my OS is Windows 10 Enterprise, Version 10.0.17134 Build 17134.

Regards,
Tony.

-----Original Message-----
From: Scons-users [mailto:scons-users-bounces at scons.org] On Behalf Of scons-users-request at scons.org
Sent: Thursday, March 14, 2019 12:08
To: scons-users at scons.org
Subject: Scons-users Digest, Vol 89, Issue 11

Send Scons-users mailing list submissions to
	scons-users at scons.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7Ctony.peterlong%40nxp.com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636881368810058274&sdata=cx94rf%2BmSwhfY81nhlsqGOx6jtRco0E5aQq3VQrtocI%3D&reserved=0
or, via email, send a message with subject or body 'help' to
	scons-users-request at scons.org

You can reach the person managing the list at
	scons-users-owner at scons.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of Scons-users digest..."


Today's Topics:

   1. Re: FW: SCons building M4 targets comparatively slowly.
      (Tony Peter Long)
   2. Re: FW: SCons building M4 targets comparatively slowly.
      (Bill Deegan)


----------------------------------------------------------------------

Message: 1
Date: Wed, 13 Mar 2019 08:51:29 +0000
From: Tony Peter Long <tony.peterlong at nxp.com>
To: "scons-users at scons.org" <scons-users at scons.org>
Subject: Re: [Scons-users] FW: SCons building M4 targets comparatively
	slowly.
Message-ID:
	<VI1PR04MB30386CB690B442ECC1711CD08D4A0 at VI1PR04MB3038.eurprd04.prod.outlook.com>
	
Content-Type: text/plain; charset="us-ascii"

Hello Bill.

There are 8 files ranging from 417KB to 3KB. All 8 files together total 756KB.

Tony.

-----Original Message-----
From: Scons-users [mailto:scons-users-bounces at scons.org] On Behalf Of scons-users-request at scons.org
Sent: Wednesday, March 13, 2019 12:42
To: scons-users at scons.org
Subject: Scons-users Digest, Vol 89, Issue 10

Send Scons-users mailing list submissions to
	scons-users at scons.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7Ctony.peterlong%40nxp.com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636881368810058274&sdata=cx94rf%2BmSwhfY81nhlsqGOx6jtRco0E5aQq3VQrtocI%3D&reserved=0
or, via email, send a message with subject or body 'help' to
	scons-users-request at scons.org

You can reach the person managing the list at
	scons-users-owner at scons.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of Scons-users digest..."


Today's Topics:

   1. FW: SCons building M4 targets comparatively slowly.
      (Tony Peter Long)
   2. Re: FW: SCons building M4 targets comparatively slowly.
      (Bill Deegan)


----------------------------------------------------------------------

Message: 1
Date: Tue, 12 Mar 2019 10:38:55 +0000
From: Tony Peter Long <tony.peterlong at nxp.com>
To: "scons-users at scons.org" <scons-users at scons.org>
Subject: [Scons-users] FW: SCons building M4 targets comparatively
	slowly.
Message-ID:
	<VI1PR04MB3038801418F3921A848DB09D8D490 at VI1PR04MB3038.eurprd04.prod.outlook.com>
	
Content-Type: text/plain; charset="us-ascii"

Hi all.

I have an issue with SCons taking quite a long time for what - as far as I can tell - is a fairly trivial build. I posted a question on StackOverflow about a week ago, and although I got a couple of responses, I haven't found anything to help me get to the root of what I'm doing to make it so slow. You can find my question and my code on StackOverflow here: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F55014873%2Fwhat-is-making-my-scons-build-take-so-long&data=02%7C01%7Ctony.peterlong%40nxp.com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636881368810058274&sdata=BPYiGWVo8Bf3ifOdTm86FRg5G%2FcA8lX7Z1R2W%2B5Ay48%3D&reserved=0.

Any help is appreciated.

Thanks.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fpipermail%2Fscons-users%2Fattachments%2F20190312%2F32361199%2Fattachment-0001.html&data=02%7C01%7Ctony.peterlong%40nxp.com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636881368810068284&sdata=%2FFQeOV%2B9lOvLLczct2cSFr0sjazmWuRgR4ohGc7%2FubM%3D&reserved=0>

------------------------------

Message: 2
Date: Tue, 12 Mar 2019 10:03:32 -0400
From: Bill Deegan <bill at baddogconsulting.com>
To: SCons users mailing list <scons-users at scons.org>
Subject: Re: [Scons-users] FW: SCons building M4 targets comparatively
	slowly.
Message-ID:
	<CAEyG4CHkqBtMfjDw+60ftsXSvKHRnpt2n5RZRMaOi5oOwMz5FA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Tony,

How big are the files you're running through m4?
(bytes)

-Bill

On Tue, Mar 12, 2019 at 6:39 AM Tony Peter Long <tony.peterlong at nxp.com>
wrote:

> Hi all.
>
>
>
> I have an issue with SCons taking quite a long time for what ? as far 
> as I can tell ? is a fairly trivial build. I posted a question on 
> StackOverflow about a week ago, and although I got a couple of 
> responses, I haven?t found anything to help me get to the root of what I?m doing to make it so slow.
> You can find my question and my code on StackOverflow here:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F55014873%2Fwhat-is-making-my-scons-build-take-so-long&data=02%7C01%7Ctony.peterlong%40nxp.com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636881368810068284&sdata=3MyDwPPA48ZMoVKr07xxmrA4FhYvtLhl8Y4Cfa0M%2BN8%3D&reserved=0.
>
>
>
>
> Any help is appreciated.
>
>
>
> Thanks.
>
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpai
> rlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7C
> tony.peterlong%40nxp.com%7Cf19e94e8979e428dc73f08d6a7769ce5%7C686ea1d3
> bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636880525209964960&sdata=NUukH4
> hBNG61qR1om9Q7cvX%2F9ksi2LMJchSAXmmHqtQ%3D&reserved=0
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fpipermail%2Fscons-users%2Fattachments%2F20190312%2F92ed6532%2Fattachment-0001.html&data=02%7C01%7Ctony.peterlong%40nxp.com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636881368810068284&sdata=Yzw0trrPB3X1YRfjAjijpUe5quNb%2FmM8U1oc5UE8zwA%3D&reserved=0>

------------------------------

Subject: Digest Footer

_______________________________________________
Scons-users mailing list
Scons-users at scons.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7Ctony.peterlong%40nxp.com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636881368810068284&sdata=pg912QggRb7zBBdmihqjqaItdS10H%2B5zIwd6EiN9LyE%3D&reserved=0


------------------------------

End of Scons-users Digest, Vol 89, Issue 10
*******************************************


------------------------------

Message: 2
Date: Wed, 13 Mar 2019 22:01:40 -0700
From: Bill Deegan <bill at baddogconsulting.com>
To: SCons users mailing list <scons-users at scons.org>
Subject: Re: [Scons-users] FW: SCons building M4 targets comparatively
	slowly.
Message-ID:
	<CAEyG4CEJiLqnRKGfn_uxRvzJSQ32+rT4ewPqan1cUitdtaf5zw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Can you create a mock test with equivalent length files filled with "a" and create a github repo so we can try to repro?

Thanks,
Bill

On Wed, Mar 13, 2019 at 1:51 AM Tony Peter Long <tony.peterlong at nxp.com>
wrote:

> Hello Bill.
>
> There are 8 files ranging from 417KB to 3KB. All 8 files together 
> total 756KB.
>
> Tony.
>
> -----Original Message-----
> From: Scons-users [mailto:scons-users-bounces at scons.org] On Behalf Of 
> scons-users-request at scons.org
> Sent: Wednesday, March 13, 2019 12:42
> To: scons-users at scons.org
> Subject: Scons-users Digest, Vol 89, Issue 10
>
> Send Scons-users mailing list submissions to
>         scons-users at scons.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpair
> list4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7Ct
> ony.peterlong%40nxp.com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3b
> c2b4c6fa92cd99c5c301635%7C0%7C0%7C636881368810068284&sdata=pg912Qg
> gRb7zBBdmihqjqaItdS10H%2B5zIwd6EiN9LyE%3D&reserved=0
> or, via email, send a message with subject or body 'help' to
>         scons-users-request at scons.org
>
> You can reach the person managing the list at
>         scons-users-owner at scons.org
>
> When replying, please edit your Subject line so it is more specific 
> than
> "Re: Contents of Scons-users digest..."
>
>
> Today's Topics:
>
>    1. FW: SCons building M4 targets comparatively slowly.
>       (Tony Peter Long)
>    2. Re: FW: SCons building M4 targets comparatively slowly.
>       (Bill Deegan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 12 Mar 2019 10:38:55 +0000
> From: Tony Peter Long <tony.peterlong at nxp.com>
> To: "scons-users at scons.org" <scons-users at scons.org>
> Subject: [Scons-users] FW: SCons building M4 targets comparatively
>         slowly.
> Message-ID:
>         <
> VI1PR04MB3038801418F3921A848DB09D8D490 at VI1PR04MB3038.eurprd04.prod.out
> look.com
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi all.
>
> I have an issue with SCons taking quite a long time for what - as far 
> as I can tell - is a fairly trivial build. I posted a question on 
> StackOverflow about a week ago, and although I got a couple of 
> responses, I haven't found anything to help me get to the root of what I'm doing to make it so slow.
> You can find my question and my code on StackOverflow here:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstac
> koverflow.com%2Fquestions%2F55014873%2Fwhat-is-making-my-scons-build-t
> ake-so-long&data=02%7C01%7Ctony.peterlong%40nxp.com%7C86be5641cf6b
> 47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6368
> 81368810068284&sdata=3MyDwPPA48ZMoVKr07xxmrA4FhYvtLhl8Y4Cfa0M%2BN8
> %3D&reserved=0
> .
>
> Any help is appreciated.
>
> Thanks.
>
>
> -------------- next part -------------- An HTML attachment was 
> scrubbed...
> URL: <
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpair
> list4.pair.net%2Fpipermail%2Fscons-users%2Fattachments%2F20190312%2F32
> 361199%2Fattachment-0001.html&data=02%7C01%7Ctony.peterlong%40nxp.
> com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301
> 635%7C0%7C0%7C636881368810068284&sdata=%2FFQeOV%2B9lOvLLczct2cSFr0
> sjazmWuRgR4ohGc7%2FubM%3D&reserved=0
> >
>
> ------------------------------
>
> Message: 2
> Date: Tue, 12 Mar 2019 10:03:32 -0400
> From: Bill Deegan <bill at baddogconsulting.com>
> To: SCons users mailing list <scons-users at scons.org>
> Subject: Re: [Scons-users] FW: SCons building M4 targets comparatively
>         slowly.
> Message-ID:
>         <
> CAEyG4CHkqBtMfjDw+60ftsXSvKHRnpt2n5RZRMaOi5oOwMz5FA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Tony,
>
> How big are the files you're running through m4?
> (bytes)
>
> -Bill
>
> On Tue, Mar 12, 2019 at 6:39 AM Tony Peter Long 
> <tony.peterlong at nxp.com>
> wrote:
>
> > Hi all.
> >
> >
> >
> > I have an issue with SCons taking quite a long time for what ? as 
> > far as I can tell ? is a fairly trivial build. I posted a question 
> > on StackOverflow about a week ago, and although I got a couple of 
> > responses, I haven?t found anything to help me get to the root of 
> > what
> I?m doing to make it so slow.
> > You can find my question and my code on StackOverflow here:
> >
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstac
> koverflow.com%2Fquestions%2F55014873%2Fwhat-is-making-my-scons-build-t
> ake-so-long&data=02%7C01%7Ctony.peterlong%40nxp.com%7C86be5641cf6b
> 47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6368
> 81368810068284&sdata=3MyDwPPA48ZMoVKr07xxmrA4FhYvtLhl8Y4Cfa0M%2BN8
> %3D&reserved=0
> .
> >
> >
> >
> >
> > Any help is appreciated.
> >
> >
> >
> > Thanks.
> >
> >
> >
> >
> > _______________________________________________
> > Scons-users mailing list
> > Scons-users at scons.org
> > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fp
> > ai 
> > rlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%
> > 7C
> > tony.peterlong%40nxp.com%7Cf19e94e8979e428dc73f08d6a7769ce5%7C686ea1
> > d3
> > bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636880525209964960&sdata=NUuk
> > H4
> > hBNG61qR1om9Q7cvX%2F9ksi2LMJchSAXmmHqtQ%3D&reserved=0
> >
> -------------- next part -------------- An HTML attachment was 
> scrubbed...
> URL: <
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpair
> list4.pair.net%2Fpipermail%2Fscons-users%2Fattachments%2F20190312%2F92
> ed6532%2Fattachment-0001.html&data=02%7C01%7Ctony.peterlong%40nxp.
> com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301
> 635%7C0%7C0%7C636881368810078293&sdata=ISQ7fkBvOaW%2BrbHPx6PXr%2B%
> 2FsKdp0Nh34jDoT0Au4PGI%3D&reserved=0
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
>
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpair
> list4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7Ct
> ony.peterlong%40nxp.com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3b
> c2b4c6fa92cd99c5c301635%7C0%7C0%7C636881368810078293&sdata=%2FsUkP
> YZIUPIeDkHhgnG3Ox%2Bx5gAAvaFePlLd5YJYfVM%3D&reserved=0
>
>
> ------------------------------
>
> End of Scons-users Digest, Vol 89, Issue 10
> *******************************************
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpair
> list4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7Ct
> ony.peterlong%40nxp.com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3b
> c2b4c6fa92cd99c5c301635%7C0%7C0%7C636881368810078293&sdata=%2FsUkP
> YZIUPIeDkHhgnG3Ox%2Bx5gAAvaFePlLd5YJYfVM%3D&reserved=0
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fpipermail%2Fscons-users%2Fattachments%2F20190313%2Ff118a160%2Fattachment.html&data=02%7C01%7Ctony.peterlong%40nxp.com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636881368810078293&sdata=XM9OL7TdTY0n111zvoOQfUh3Lt%2FRQYJi0WUfzNGjJAQ%3D&reserved=0>

------------------------------

Subject: Digest Footer

_______________________________________________
Scons-users mailing list
Scons-users at scons.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7Ctony.peterlong%40nxp.com%7C86be5641cf6b47e8635008d6a83b06aa%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636881368810078293&sdata=%2FsUkPYZIUPIeDkHhgnG3Ox%2Bx5gAAvaFePlLd5YJYfVM%3D&reserved=0


------------------------------

End of Scons-users Digest, Vol 89, Issue 11
*******************************************


More information about the Scons-users mailing list