2020-05-01 18:16:27 +00:00
|
|
|
# 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
|
2020-05-29 20:13:51 +00:00
|
|
|
|
|
|
|
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 \
|
2020-06-10 19:10:16 +00:00
|
|
|
--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
|