Hi, 

> Try running with --debug=time
Did you want to see all of the build output?
Ben

 


    On Tuesday, December 29, 2015 2:57 PM, Bill Deegan 
<[email protected]> wrote:
 
 

 Try running with --debug=time

   
   - --debug=time
      - Prints various time profiling information:the time spent executing each 
individual build command;the total build time (time SCons ran from beginning to 
end);the total time spent reading and executing SConscript files;the total time 
spent SCons itself spend running(that is, not counting reading and executing 
SConscript files);and both the total time spent executing all build commandsand 
the elapsed wall-clock time spent executing those build commands.(Whensconsis 
executed without the-joption,the elapsed wall-clock time will typicallybe 
slightly longer than the total time spentexecuting all the build commands,due 
to the SCons processing that takes placein between executing each 
command.Whensconsis executedwiththe-joption,and your build configuration allows 
good parallelization,the elapsed wall-clock time shouldbe significantly smaller 
than thetotal time spent executing all the build commands,since multiple build 
commands andintervening SCons processingshould take place in parallel.)
-Bill


On Tue, Dec 29, 2015 at 2:47 PM, William Blevins <[email protected]> wrote:

I guess my point here was that I wanted to know where the time savings was 
happening since SCons does split out some process timings.
I just wanted to see a regular build timing with and without your patch.
V/R,William
On Tue, Dec 29, 2015 at 7:07 PM, Schleimer, Ben via Scons-dev 
<[email protected]> wrote:

Hi William,


>Can you give the time saving using --debug=time for -j1 and -j4?
>

   Sure,

regular scons build (scons -jX --debug=time)
a clean build with -j1 is:
Total build time: 20.901390 seconds
Total SConscript file execution time: 0.149543 seconds
Total SCons execution time: 0.444850 seconds
Total command execution time: 20.306997 seconds


an incremental build with -j1 is:
Total build time: 2.439754 seconds
Total SConscript file execution time: 0.151794 seconds
Total SCons execution time: 0.337350 seconds
Total command execution time: 1.950610 seconds


a clean build with -j4 is:
Total build time: 7.158301 seconds
Total SConscript file execution time: 0.153021 seconds
Total SCons execution time: 0.107556 seconds
Total command execution time: 6.897724 seconds


an incremental build with -j4 is:
Total build time: 2.368260 seconds
Total SConscript file execution time: 0.151281 seconds
Total SCons execution time: 0.183930 seconds
Total command execution time: 2.033049 seconds


interactive build (scons --interactive -jX --debug=time)
a clean build with -j1:
time to do a build = 19.983217001 sec

an incremental build with -j1:
time to do a build = 2.2111852169 sec

a clean build with -j4:
time to do a build = 6.93614792824 sec

an incremental build with -j4:
time to do a build = 2.17438697815 sec


It's consistently 0.2 seconds faster with the interactive build.
Not a huge amount but I'm not using that many SConscript files.
(5 SConscript files and 2 SConstruct files)



Cheers

Ben
_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev



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





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

Reply via email to