Skip to content

Instantly share code, notes, and snippets.

@mcomella
Last active September 15, 2020 20:04
Show Gist options
  • Save mcomella/99505ac091d3de8c721584aca0a8850f to your computer and use it in GitHub Desktop.
Save mcomella/99505ac091d3de8c721584aca0a8850f to your computer and use it in GitHub Desktop.
mach perftest example run options
# Common changes
# --browsertime-iterations <num>
# change to --profile-condition-platform p2_aarch64-fenix.nightly
# remove --profile* for builds without conditioned profiles
# add --android-perf-tuning to use performance tuning (root only)
# add --android-install-apk <url> (maybe disk too?) to install a build before running
# VIEW
./mach perftest --flavor mobile-browser --android --android-capture-logcat logcat --output artifacts --android-app-name org.mozilla.fenix --android-clear-logcat --perfherder-metrics processLaunchToNavStart --hooks testing/performance/hooks_android_view.py --perfherder testing/performance/perftest_android_view.js --browsertime-iterations 10 --profile-conditioned --profile-conditioned-scenario settled --profile-conditioned-platform g5-fenix.nightly
# MAIN
./mach perftest --flavor mobile-browser --android --android-capture-logcat logcat --output artifacts --android-app-name org.mozilla.fenix --android-activity .App --android-clear-logcat --androidlog --androidlog-first-timestamp ".*Start proc.*org\.mozilla\..*\..*App.*" --androidlog-second-timestamp ".*Fully drawn.*org\.mozilla\..*" --androidlog-subtest-name "MAIN" --hooks testing/performance/hooks_android_main.py --perfherder testing/performance/perftest_android_main.js --browsertime-iterations 10 --profile-conditioned --profile-conditioned-scenario settled --profile-conditioned-platform g5-fenix.nightly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment