зеркало из https://github.com/mozilla/gecko-dev.git
022105cc96
This is slightly more involved than earlier changes because reftests have a one-off mechanism for finding files. Essentially, the master reftest manifest is loaded, directories are discovered, and every file in those directories is packaged. We add support to our test archive generation tool to read sources from reftest manifests and tell it where the reftest manifests are. print-manifest-dirs.py was only being used for staging reftest files. Since we don't do that any more, the functionality doesn't need to exist in a standalone file, so it has been moved inline into test_archive.py. This change avoids copying ~26,000 tests consuming 131 MB during test packaging. This is a majority of the file count that was remaining in the stage directory at this point. On my machine (which hasn't typically seen major wall time wins from not staging files due to its fast SSD), this change made test packaging ~20% faster, reducing wall time from ~50s to ~40s! A Try push seemed to indicate drastic results with the series up to this point. Including the already landed changes to generate test archives concurrently, test packaging times on OS X builders dropped from ~18:40 to 6:29! Times on Linux x64 remained about the same (~2:46). This is possibly due to these machines already having SSDs and due to normal variance in performance of builders and EC2 instances. --HG-- extra : commitid : 34E8V8lSGg7 extra : rebase_source : 720afcd35f6a2b6cb1217df23ae981408a88cb94 |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |