skia2/tools/perf-canvaskit-puppeteer
Kevin Lubick a1c2117004 [canvaskit] Add drawRect4f as example 'fast path' API
I added 3 tests, one using the drawRect API naively,
one using drawRect with a Malloc'd array, and one using
the drawRect4f.

rough local measurements:
 - [baseline with tip of tree code]: 50ms
 - naive drawRect: 40ms
 - drawRect with malloc: 28ms
 - drawRect4f: 27ms

I also tried the benchmarks locally with taking in paint
as a const reference. I did not see any changes, but that
could just be small sample size. I plan to land the code
as is for now, collect a bit of data in Perf and then try
landing the const reference stuff and see if we get
something measurable.

To aid this, I added in a helper list of tests to only run
some benchmarks easily.

Change-Id: I2d8c5296e93f05be45fc12059955fb9d9e339d83
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/315143
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-09-03 14:53:42 +00:00
..
canvas_perf_assets Add more perf tests and other minor improvemnts 2020-08-10 15:23:53 +00:00
path_translate_assets Add puppeteer perf for performance degredation related to transforming a complex path. Translations 2020-05-29 20:17:14 +00:00
benchmark.js Add more perf tests and other minor improvemnts 2020-08-10 15:23:53 +00:00
canvas_perf.html [canvaskit] Add drawRect4f as example 'fast path' API 2020-09-03 14:53:42 +00:00
canvas_perf.js [canvaskit] Add drawRect4f as example 'fast path' API 2020-09-03 14:53:42 +00:00
Makefile Add more perf tests and other minor improvemnts 2020-08-10 15:23:53 +00:00
package-lock.json Add puppeteer perf for performance degredation related to transforming a complex path. Translations 2020-05-29 20:17:14 +00:00
package.json Add puppeteer perf for performance degredation related to transforming a complex path. Translations 2020-05-29 20:17:14 +00:00
path-transform.html Add puppeteer perf for performance degredation related to transforming a complex path. Translations 2020-05-29 20:17:14 +00:00
perf_all_skps.sh Add Puppeteer perf for release and experimental_simd builds of CanvasKit against SKPs 2020-07-16 17:47:08 +00:00
perf-canvaskit-with-puppeteer.js allow external files in canvas_perf.js tests 2020-08-06 20:27:32 +00:00
render-skp.html A puppeteer test that runs karma-like tests 2020-07-29 15:38:56 +00:00
skottie-frames.html Reland "[canvaskit] Change SkRects to be arrays, not objects." 2020-09-03 14:31:38 +00:00
skp_data_prep.js Add Puppeteer perf for release and experimental_simd builds of CanvasKit against SKPs 2020-07-16 17:47:08 +00:00