af79192aa3
Adding -O1 and reducing the shards to cut down on overhead in post-production. This seems to save us a few minutes (e.g. ~26 -> ~23 minutes). The optimized code has about 600 fewer reachable lines of code (according to the Coverage measurement), which is acceptable given our tests run on -O1 or better. Experiments (in this review) show that O3 is faster than O1, but not significantly enough where we want to deviate from our normal Debug bots: Control: 73 minutes -O1: 59 minutes -O2: 60 minutes -O3: 50 minutes Bug: skia: NOTRY=true Change-Id: I33344c1cd2408373004d010e36ce27d6aa03deb2 Reviewed-on: https://skia-review.googlesource.com/65503 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Kevin Lubick <kjlubick@google.com> |
||
---|---|---|
.. | ||
bundle_recipes.expected | ||
calmbench.expected | ||
check_generated_files.expected | ||
compile.expected | ||
ct_skps.expected | ||
housekeeper.expected | ||
infra.expected | ||
perf.expected | ||
recreate_skps.expected | ||
skpbench.expected | ||
test.expected | ||
update_meta_config.expected | ||
upload_calmbench_results.expected | ||
upload_coverage_results.expected | ||
upload_dm_results.expected | ||
upload_nano_results.expected | ||
bundle_recipes.py | ||
calmbench.py | ||
check_generated_files.py | ||
compile.py | ||
ct_skps.py | ||
housekeeper.py | ||
infra.py | ||
perf.py | ||
README.md | ||
recreate_skps.py | ||
skpbench.py | ||
test.py | ||
update_meta_config.py | ||
upload_calmbench_results.py | ||
upload_coverage_results.py | ||
upload_dm_results.py | ||
upload_nano_results.py |
Skia Recipes
These are the top-level scripts which run inside of Swarming tasks to perform all of Skia's automated testing.
To run a recipe locally:
$ python infra/bots/recipes.py run --workdir=/tmp/<workdir> <recipe name without .py> key1=value1 key2=value2 ...
Each recipe may have its own required properties which must be entered as key/value pairs in the command.
When you change a recipe, you generally need to re-train the simulation test:
$ python infra/bots/recipes.py test run --train
Or:
$ cd infra/bots; make train
The test generates expectations files for the tests contained within each recipe which illustrate which steps would run, given a particular set of inputs. Pay attention to the diffs in these files when making changes to ensure that your change has the intended effect.