[Scons-users] Scons and parts

Pico Geyer picogeyer at gmail.com
Tue Aug 15 11:53:03 EDT 2017


Thanks Jason.

I'm definitely going to give it a try.
I'll let you know if I run into any issues.

Regards,
Pico

On Sat, Aug 12, 2017 at 1:03 AM, Jason Kenny <dragon512 at live.com> wrote:
> Hi Pico,
>
> Part might be able to help a little by being included as we add an improved subprocess call to avoid the memory forking issues that can slow down large builds on Linux because of excessive memory copies of the full Scons process. Current the patch we gave to SCons is stuck as someone has to fix it to allow a runtime switch to allow the old slow behavior.
>
> Beyond that if you break up the build into "parts" that are loaded the current code will speed up incremental build as Parts stores extra information about relationship. It uses that information to avoid loading components, reducing the startup time of the build and the size of the tree SCons will iterate.
>
> If you have issues running it, let me know. The current code should be working correctly with the pre-python3k versions on SCons.
>
>
> Jason
>
> -----Original Message-----
> From: Pico Geyer [mailto:picogeyer at gmail.com]
> Sent: Friday, August 11, 2017 11:12 AM
> To: SCons users mailing list <scons-users at scons.org>
> Cc: Jason Kenny <dragon512 at live.com>
> Subject: Re: [Scons-users] Scons and parts
>
> Hi Bill.
>
> On Fri, Aug 11, 2017 at 5:40 PM, Bill Deegan <bill at baddogconsulting.com> wrote:
>> Pretty sure Parts is no longer in SVN but rather on bitbucket or github..
>> Your probably working with a pretty old version.
>
> Ah, yes. That was indeed the case :)
> I found the right repo. For reference: https://bitbucket.org/sconsparts/parts
>
>>
>> Can you share any stats about your build? # source files, directories,
>> platform, etc
>
> I can't share the actual source code. But I can definitely give any stats required.
> We're using scons on linux (on windows too but the subproject that is slow is linux only) Should I start a new thread?
> Here's the basic info. On a cold cache:
> scons --debug=time --help
> <snip>
> Total build time: 34.645730 seconds
> Total SConscript file execution time: 34.221577 seconds Total SCons execution time: 0.424153 seconds Total command execution time: 0.000000 seconds
>
>>
>> Have you tried anything in the gofastbutton page?
>> https://bitbucket.org/scons/scons/wiki/GoFastButton
>
> I've tried almost everything on that page. Most helped to a degree but as you can see the time to just parse Sconscript files is getting absurd.
>
> Thanks
> Pico


More information about the Scons-users mailing list