skia2/infra
Kevin Lubick 51891392d8 [canvaskit] Add benchmarks on SKPs
For each skp in the corpus, we start a fresh instance of
Chromium (via puppeteer), draw the skp and measure that time.
This process is repeated a fixed amount of repetitions
and the median, the average, and the std deviation is reported
to perf (as well as the individual datapoints as an FYI).

Importantly (and something we'll need to change about
SkottieFrames), we measure the average time between frames
after unlocking the framerate. This ensures we account for
the time needed by the GPU to actually draw (flush() returns
after the GPU has all the instructions, but not necessarily
has been able to draw).

This implementation is very similar to the SkottieFrames
code; a notable deviation is the repetitions are handled
outside of the html, i.e. a new chrome window per run.

I explored using content_shell, but noticed that requires
building Chromium, which our infrastructure is not set up
to do well.

Change-Id: I14fdbdc951604d3fdf06e81a4be7e614d0e53c03
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/295079
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Nathaniel Nifong <nifong@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
2020-06-10 20:11:00 +00:00
..
bots [canvaskit] Add benchmarks on SKPs 2020-06-10 20:11:00 +00:00
canvaskit Upgrade CanvasKit emscripten to version 1.39.16. 2020-05-21 14:18:48 +00:00
cmake [infra] Change CMake build to use a temporary directory 2020-01-14 11:41:55 +00:00
config Roll recipe dependencies (trivial). 2020-03-02 22:51:39 +00:00
cross-compile/docker/cross-linux-arm64 Add dockerfile to cross-compile for arm64 linux 2019-02-20 19:04:11 +00:00
cts [infra] Update infra dep 2020-01-27 19:48:46 +00:00
docker [infra] Add Debian9 docker image. 2020-04-14 12:47:14 +00:00
gcc remove support for mips64el/loongson3a 2020-05-19 19:22:49 +00:00
lottiecap Update gold aggregators to use new struct 2019-09-30 14:30:48 +00:00
pathkit Upgrade CanvasKit emscripten to version 1.39.16. 2020-05-21 14:18:48 +00:00
project-config Delete swarm_trigger recipe 2016-12-13 12:53:00 +00:00
skqp Update skqp's Android NDK to r20 2019-07-03 20:45:24 +00:00
wasm-common Upgrade CanvasKit emscripten to version 1.39.16. 2020-05-21 14:18:48 +00:00
README.md Added CQ config to skia repo 2015-06-08 05:12:56 -07:00

This directory contains infra-specific files. The branch-config/ directory contains configs that are specific to the master branch (e.g. config for the CQ committing to the master branch), while project-config/ directory contains project-wide configuration (e.g. list of buckets for cr-buildbucket service and list of refs known to the infra services).