b437d7b5e4
and rotations both have an effect on cache usage. Snapping translations to integer coordinations reduces cache usage. Opacity of path painting does not have an effect on cache usage. Bug: skia:10272 Change-Id: Id5d5f08cb43645c9ec44b9d8e5e96643041727c3 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/292280 Reviewed-by: Kevin Lubick <kjlubick@google.com>
20 lines
1018 B
Makefile
20 lines
1018 B
Makefile
# This shows an example invocation presuming the user has built canvaskit locally.
|
|
frames_load_lego_with_local:
|
|
node perf-canvaskit-with-puppeteer.js --canvaskit_js ../../out/canvaskit_wasm/canvaskit.js \
|
|
--canvaskit_wasm ../../out/canvaskit_wasm/canvaskit.wasm --use_gpu \
|
|
--input_lottie ../../modules/canvaskit/perf/assets/lego_loader.json \
|
|
--bench_html skottie-frames.html
|
|
|
|
test_path_transform_without_snap:
|
|
node perf-canvaskit-with-puppeteer.js --canvaskit_js --canvaskit_js ../../out/canvaskit_wasm/canvaskit.js \
|
|
--canvaskit_wasm ../../out/canvaskit_wasm/canvaskit.wasm --use_gpu \
|
|
--assets path_translate_assets \
|
|
--bench_html path-transform.html \
|
|
--query_params translate opacity
|
|
|
|
test_path_transform_with_snap:
|
|
node perf-canvaskit-with-puppeteer.js --canvaskit_js --canvaskit_js ../../out/canvaskit_wasm/canvaskit.js \
|
|
--canvaskit_wasm ../../out/canvaskit_wasm/canvaskit.wasm --use_gpu \
|
|
--assets path_translate_assets \
|
|
--bench_html path-transform.html \
|
|
--query_params translate opacity snap
|