Bug 1816167 - Update android startup documentation. r=perftest-reviewers,sparky

Differential Revision: https://phabricator.services.mozilla.com/D169976
This commit is contained in:
andrej 2023-02-16 15:13:45 +00:00
parent c3c322ea16
commit a811105038
2 changed files with 6 additions and 7 deletions

View File

@ -190,9 +190,9 @@ perftest_android_startup.js
:owner: Performance Team
:name: android-startup
**Measures cold process view time**
**Measures android startup times**
This test launches the appropriate android app, simulating a opening a link through VIEW intent workflow. The application is launched with the intent action android.intent.action.VIEW loading a trivially simple website. The reported metric is the time from process start to navigationStart, reported as processLaunchToNavStart
This test consists of 2 main tests, cold main first frame(cmff) and cold view nav start(cvns). cold main first frame is the measurement from when you click the app icon & get duration to first frame from 'am start -W'. cold view nav start is the measurement from when you send a VIEW intent & get duration from logcat: START proc to PageStart.
perftest_android_main.js
========================

View File

@ -10,12 +10,11 @@ module.exports = {
test,
owner: "Performance Team",
name: "android-startup",
description: "Measures cold process view time",
description: "Measures android startup times",
longDescription: `
This test launches the appropriate android app, simulating a opening a link through VIEW intent
workflow. The application is launched with the intent action
android.intent.action.VIEW loading a trivially simple website. The reported
metric is the time from process start to navigationStart, reported as processLaunchToNavStart
This test consists of 2 main tests, cold main first frame(cmff) and cold view nav start(cvns).
cold main first frame is the measurement from when you click the app icon & get duration to first frame from 'am start -W'.
cold view nav start is the measurement from when you send a VIEW intent & get duration from logcat: START proc to PageStart.
`,
usage: `
./mach perftest --flavor mobile-browser --AndroidStartUp testing/performance/perftest_android_startup.js