skia2/infra/bots/recipes
Kevin Lubick f8823b5726 Reland "[canvaskit] Change SkRects to be arrays, not objects."
This is a reland of bdc214a50e

The CPU version of SkottieWasm is timing out for reasons unknown,
but the GPU version is happy. I think we can get rid of the CPU
version of the job since it has been more or less superseded by
the SkottieFrames one (and the latter is more stable).

Original change's description:
> [canvaskit] Change SkRects to be arrays, not objects.
>
> This changes several APIs, so there are lots of breaking
> notes in the Changelog.
>
> This made the "draw 100 colored regions" benchmark about
> 20% faster (1ms -> .8ms).
>
> In theory, rendering should stay the same.
>
> Change-Id: Ib80b15e2d980ad5d568fff4460d2b529766c1b36
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/312491
> Reviewed-by: Nathaniel Nifong <nifong@google.com>

Change-Id: I674aba85ecfb30b72e94cbaf89b2d97bfae3b7a4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/315142
Reviewed-by: Nathaniel Nifong <nifong@google.com>
2020-09-03 14:31:38 +00:00
..
check_generated_files.expected [infra] Update recipe dependencies 2020-08-03 11:34:57 +00:00
compile.expected Remove old devices.json and code 2020-07-23 12:24:26 +00:00
compute_buildstats.expected [infra] Update recipe dependencies 2020-08-03 11:34:57 +00:00
compute_test.expected Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
housekeeper.expected [infra] Update recipe dependencies 2020-08-03 11:34:57 +00:00
infra.expected [infra] Make infra tests idempotent 2019-07-09 19:04:47 +00:00
perf_canvaskit.expected Run docker as current user and add option to copy directory structure to docker.run. 2020-04-16 15:55:10 +00:00
perf_pathkit.expected Run docker as current user and add option to copy directory structure to docker.run. 2020-04-16 15:55:10 +00:00
perf_skottietrace.expected [recipes] Dump debugging information before running tests on Android 2020-08-10 14:41:23 +00:00
perf_skottiewasm_lottieweb.expected Reland "[canvaskit] Change SkRects to be arrays, not objects." 2020-09-03 14:31:38 +00:00
perf.expected [recipes] Dump debugging information before running tests on Android 2020-08-10 14:41:23 +00:00
recreate_skps.expected Use GCLIENT_PY3=0 in recreate_skps.py 2020-08-26 11:24:13 +00:00
skpbench.expected Reland "[recipes] Verify that we actually deleted the file/dir on android" 2020-08-04 18:48:00 +00:00
sync_and_compile.expected [infra] Update recipe dependencies 2020-08-03 11:34:57 +00:00
test_canvaskit.expected Run docker as current user and add option to copy directory structure to docker.run. 2020-04-16 15:55:10 +00:00
test_lottie_web.expected Fix docker command for lottie web 2020-07-06 18:24:23 +00:00
test_pathkit.expected Run docker as current user and add option to copy directory structure to docker.run. 2020-04-16 15:55:10 +00:00
test_skqp_emulator.expected Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
test.expected [recipes] Dump debugging information before running tests on Android 2020-08-10 14:41:23 +00:00
upload_buildstats_results.expected Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
upload_dm_results.expected Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
upload_nano_results.expected Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
check_generated_files.py harmonize rewrite-includes and gn-format checks 2020-04-03 17:00:54 +00:00
compile.py [infra] Fix build_task_drivers.sh, update infra dep 2020-01-08 14:53:41 +00:00
compute_buildstats.py remove more blacklists 2020-07-24 18:14:29 +00:00
compute_test.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
housekeeper.py [recipes] Move app_name into flavor.setup() 2020-02-27 18:06:15 +00:00
infra.py [infra] Make infra tests idempotent 2019-07-09 19:04:47 +00:00
perf_canvaskit.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
perf_pathkit.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
perf_skottietrace.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
perf_skottiewasm_lottieweb.py Reland "[canvaskit] Change SkRects to be arrays, not objects." 2020-09-03 14:31:38 +00:00
perf.py [infra] Move logic about skps/images/etc into gen_tasks 2020-03-23 13:42:43 +00:00
README.md Re-re-land "added GrSkSLFP and converted DitherEffect to use it" 2018-07-31 15:18:03 +00:00
recreate_skps.py Use GCLIENT_PY3=0 in recreate_skps.py 2020-08-26 11:24:13 +00:00
skpbench.py Remove some non-inclusive language in recipes 2020-07-31 19:29:54 +00:00
sync_and_compile.py Remove old devices.json and code 2020-07-23 12:24:26 +00:00
test_canvaskit.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
test_lottie_web.py Remove some non-inclusive language in recipes 2020-07-31 19:29:54 +00:00
test_pathkit.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
test_skqp_emulator.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
test.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
upload_buildstats_results.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
upload_dm_results.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
upload_nano_results.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00

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.