2021-06-25 15:04:11 +00:00
|
|
|
# All of the targets here assume a user has run `make release` in //modules/canvaskit
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
frames:
|
2020-05-01 18:16:27 +00:00
|
|
|
node perf-canvaskit-with-puppeteer.js --canvaskit_js ../../out/canvaskit_wasm/canvaskit.js \
|
|
|
|
--canvaskit_wasm ../../out/canvaskit_wasm/canvaskit.wasm --use_gpu \
|
2021-06-28 13:59:39 +00:00
|
|
|
--input_lottie ~/Downloads/lottie-samples/stacking.json \
|
2020-05-01 18:16:27 +00:00
|
|
|
--bench_html skottie-frames.html
|
2020-05-29 20:13:51 +00:00
|
|
|
|
2021-06-25 15:04:11 +00:00
|
|
|
frames_cpu:
|
2020-11-12 14:11:47 +00:00
|
|
|
node perf-canvaskit-with-puppeteer.js --canvaskit_js ../../out/canvaskit_wasm/canvaskit.js \
|
|
|
|
--canvaskit_wasm ../../out/canvaskit_wasm/canvaskit.wasm \
|
2021-06-25 15:04:11 +00:00
|
|
|
--input_lottie ~/Downloads/lottie-samples/404.json \
|
2020-11-12 14:11:47 +00:00
|
|
|
--bench_html skottie-frames.html
|
|
|
|
|
2021-06-25 15:04:11 +00:00
|
|
|
skp:
|
2020-06-10 19:10:16 +00:00
|
|
|
node perf-canvaskit-with-puppeteer.js --canvaskit_js ../../out/canvaskit_wasm/canvaskit.js \
|
|
|
|
--canvaskit_wasm ../../out/canvaskit_wasm/canvaskit.wasm --use_gpu \
|
2021-06-25 15:04:11 +00:00
|
|
|
--input_skp ~/Downloads/skps/desk_nytimes.skp \
|
2020-07-16 17:25:01 +00:00
|
|
|
--bench_html render-skp.html
|
|
|
|
|
|
|
|
skps_release_and_simd:
|
|
|
|
./perf_all_skps.sh --release --simd --summary
|