1. SCons
  2. Core
  3. SCons

Source

SCons / bin / time-scons.py

Author Commit Message Date Builds
Steven Knight
Fix capturing timings from a single configuration script. We were closing the output log file, thinking it was a per-script file, even though we still write to the original log file for the revision.
Steven Knight
vert old-style classes in bin/* scripts to new-style classes.
Greg Noel
http://scons.tigris.org/issues/show_bug.cgi?id=2329 Applied a number of idiomatic changes. Uses of the 'sort()' method were converted into calls of 'sorted()' when possible and the sorted() expression was inserted into a subsequent statement whenever that made sense. The statement 'while 1:' was changed to 'while True:'. Names from the 'types' module (e.g., 'types.FooType') were converted to the equivalent build-in type (e.g., 'foo'). Compariso…
Steven Knight
Update the number of the "base" revision of bin/time-scons.py to use for historical statistics. Close the triple-quote in the doc string I added right before the last checkin.
Steven Knight
Speed up the time-scons.py "build" of SCons with compiled *.pyc files, by just invoking setup.py directly instead of packing and unpacking the distributable .tar.gz file. Refactor to be able to capture historical statistics (of previous revisions) by preparing the "built" revision once and then running all of the requested timing scripts, with output going to a separate log file for each revision + script. Fix TestSCons.py so that it interprets the scons script name to be tested relative to the invoking directory, not always relative to src/script.
Steven Knight
Avoids bailing on non-zero exit status from commands. This will lets us collect as many stats as possible, even when a test for a revision in the middle of the list fails due to a bug. Updates the "baseline" timing revision (the revision that has the earliest "stable" TimeSCons infrastructure Removes --noqmtest, since the "baseline" revision no longer uses QMTest by default. Changes the --logfiles option to a --logsdir option. Updates the usage message.
Steven Knight
Fix the time-scons.py --logfiles option.
Steven Knight
...and call the correct method.
Steven Knight
Typo fix.
Steven Knight
Add a bin/time-scons.py script to manage invocation of runtest.py to collect SCons timings. The script will build SCons and time the pre-compiled *.pyc files, and also provides options for timing a range of revisions directly from SVN.