This time, push host/* instead of host/. This cuts the time it takes to push resources from ~11m to ~8s on Android One phones. I tried ignoring version files and blindly pushing packages, but in the end kept the version files for compatibility with bots running at head (or after this lands, bisecting bots), and those version files still do save a good chunk of time. In PS12 I faked version file mismatch and it took ~2m extra to push all the packages back. I also tried but got nervous about --sync so I've left it for a follow up. It's not clear that we can rely on it for packages where files will be removed, but it's probably fine for resources/ if we want to go faster than 8s. Change-Id: I84de90f13177393e4d8a599ef880545538b6af81 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/375076 Reviewed-by: Eric Boren <borenet@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@google.com> |
||
---|---|---|
.. | ||
check_generated_files.expected | ||
compile.expected | ||
compute_buildstats.expected | ||
compute_test.expected | ||
housekeeper.expected | ||
infra.expected | ||
perf_canvaskit.expected | ||
perf_pathkit.expected | ||
perf_skottietrace.expected | ||
perf_skottiewasm_lottieweb.expected | ||
perf.expected | ||
recreate_skps.expected | ||
skpbench.expected | ||
sync_and_compile.expected | ||
test_canvaskit.expected | ||
test_lottie_web.expected | ||
test_pathkit.expected | ||
test_skqp_emulator.expected | ||
test.expected | ||
upload_buildstats_results.expected | ||
upload_dm_results.expected | ||
upload_nano_results.expected | ||
check_generated_files.py | ||
compile.py | ||
compute_buildstats.py | ||
compute_test.py | ||
housekeeper.py | ||
infra.py | ||
perf_canvaskit.py | ||
perf_pathkit.py | ||
perf_skottietrace.py | ||
perf_skottiewasm_lottieweb.py | ||
perf.py | ||
README.md | ||
recreate_skps.py | ||
skpbench.py | ||
sync_and_compile.py | ||
test_canvaskit.py | ||
test_lottie_web.py | ||
test_pathkit.py | ||
test_skqp_emulator.py | ||
test.py | ||
upload_buildstats_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 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.