18423cd5b3
Change-Id: I2da6d2da2cb0dd938d04d0b872be7fc5f2a91d6d Docs-Preview: https://skia.org/?cl=308787 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308787 Commit-Queue: Nathaniel Nifong <nifong@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com>
37 lines
1.6 KiB
Makefile
37 lines
1.6 KiB
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
|
|
|
|
skp_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_skp ${HOME}/skps/desk_nytimes.skp \
|
|
--bench_html render-skp.html
|
|
|
|
# runs all the tests in canvas_perf.js
|
|
perf_js:
|
|
node perf-canvaskit-with-puppeteer.js --canvaskit_js ../../out/canvaskit_wasm/canvaskit.js \
|
|
--canvaskit_wasm ../../out/canvaskit_wasm/canvaskit.wasm --use_gpu \
|
|
--assets canvas_perf_assets \
|
|
--bench_html canvas_perf.html \
|
|
--timeout 600 # seconds
|
|
|
|
skps_release_and_simd:
|
|
./perf_all_skps.sh --release --simd --summary
|