summaryrefslogtreecommitdiffstats
path: root/src/build_log_perftest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Factor ManifestParser options into a structureBrad King2017-09-071-1/+1
| | | | | | This will allow more options to be added without updating everywhere that constructs a ManifestParser. Also extend the AssertParse function to take the options so tests can control them.
* Always rebuild on errorsColin Cross2017-05-221-1/+1
| | | | | | | | | | https://groups.google.com/forum/#!msg/ninja-build/YQuGNrECI-4/ti-lAs9SPv8J discusses a case where an rule updates its output file and then fails. The next run of ninja considers the ouptut file clean and doesn't rebuild it. Always stat output files after they are built, and write the mtime into .ninja_log. Consider output files dirty if the recorded mtime is older than the most recent input file.
* perftest: fix compilation after dupe_edge_should_err changeBrad King2016-02-021-1/+1
| | | | | Fix some ManifestParser constructor calls missed by commit 56bab441b7 (dupe_edge_should_err from bool to enum, 2016-01-27).
* Make BuildLogUser reference constant.Nico Weber2014-01-071-1/+1
|
* Rename "IsDead" to "BuildLogUser".Nico Weber2014-01-041-1/+6
|
* Include unistd.h in files that use unlink() on OS X.Nico Weber2012-08-051-0/+4
| | | | | | | | `man unlink` says this is necessary, and according to a report by Claus Klein, omitting them breaks the build on OS X 10.5 with gcc 4.7 (see issue #396). (On Windows, ninja's util.h includes a define for unlink.)
* print edges per secondPeter Kuemmel2012-07-151-0/+1
| | | | | | | | | | | prints the rate of finished edges per second to the console, for instance with NINJA_STATUS="[%s/%t %o(%c)/s] ": [132/1922 16.1(14)/s] 16.1 is the average for all processed files (here 132 since start) 14 is the average of the last n files while n is the number specifies by -j (or its default)
* Rename parsers.* to manifest_parser.*Thiago Farina2012-07-091-1/+1
| | | | | | So it matches with the class name in there. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Add a BuildLog loading perftest.Nico Weber2012-05-081-0/+139