c0ab92c52f
Add PerfActivity to Skottie demo app, which can render with both Lottie and Skottie players. Create bash script, which runs 15 lottie files with both renderers, runs perfetto and outputs performance metrics in json files. Test: ran run_perf.sh and it outputs perf metrics on WearOS and Android Change-Id: I6bdd86629284ac5c461cf2f5ee537e0495a72bd2 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/298980 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Stan Iliev <stani@google.com>
8 lines
275 B
Bash
Executable File
8 lines
275 B
Bash
Executable File
# Copyright 2020 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
cat ./perfetto_config.pb | adb shell perfetto -c - -o /data/misc/perfetto-traces/trace.pb
|
|
adb pull /data/misc/perfetto-traces/trace.pb trace
|