[Scons-users] SConscript execution time information
Nikola Radovanovic
nikola.radovanovic at schneider-electric-dms.com
Wed Nov 28 07:47:58 EST 2012
hi,
thanks for the answer. we have similar functionality in our Make-based build. I thought it would be nice to have it with Scons also; but since this is actually a feature - we definitely can live without it :)
On 11/28/2012 01:25 PM, Dirk Bächle wrote:
Hi Nikola,
On 28.11.2012 12:46, Nikola Radovanovic wrote:
hi all,
is it possible to obtain information how long did it take for one SConscript file to finish? i know there is: --debug=time but thats for complete build process.i have a SConstruct file which calls many SConscript files and i would like to check impact of each separate SConscript to build process. is it doable?
I don't know of any simple solution that would give you all the single times in one run. I'd probably call
scons module1
scons module2
...
for all the single subdirs with their SConscripts, and then measure the time for each. Note, that this doesn't give you the exact total amount of time for building moduleX, because you have always the time included that is needed for reading and processing all (!) SConstruct/SConscript files. But it should give you an impression about which modules take longer or shorter to build, relative to each other.
Hope this helps you somehow.
Best regards,
Dirk
_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto:Scons-users at scons.org>
http://four.pairlist.net/mailman/listinfo/scons-users
--
__________________________________________________________________________________________________________________
Nikola Radovanovic | Schneider Electric DMS NS | Smart Grid IT | SERBIA | CPASv2 team deputy
Phone: +381 (0)21 488 3633 | Fax: +381 (0)21 488 3789 | Mobile: +381 (0)64 29 74 528
Email: nikola.radovanovic at schneider-electric-dms.com<mailto:nikola.radovanovic at schneider-electric-dms.com> | Site: www.schneider-electric-dms.com<http://www.schneider-electric-dms.com/> | Address: Narodnog fronta 25A-D, 21000 Novi Sad
*** Please consider the environment before printing this e-mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121128/c532d378/attachment.htm>
More information about the Scons-users
mailing list