Bug 1891340 - Part 1: Add parameters to customize the before and after icon tints...
[gecko.git] / testing / performance / perftest_android_startup.js
blob55f17dca6eddb98ee9fb88ce96068888f99bde35
1 // This Source Code Form is subject to the terms of the Mozilla Public
2 // License, v. 2.0. If a copy of the MPL was not distributed with this
3 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 /* eslint-env node */
5 "use strict";
7 async function test() {}
9 module.exports = {
10   test,
11   owner: "Performance Team",
12   name: "android-startup",
13   description: "Measures android startup times",
14   longDescription: `
15   This test consists of 2 main tests, cold main first frame(cmff) and cold view nav start(cvns).
16   cold main first frame is the measurement from when you click the app icon & get duration to first frame from 'am start -W'.
17   cold view nav start is the measurement from when you send a VIEW intent & get duration from logcat: START proc to PageStart.
18   `,
19   usage: `
20   ./mach perftest --flavor mobile-browser --AndroidStartUp testing/performance/perftest_android_startup.js
21     --browsertime-cycles=0 --AndroidStartUp-test-name=cold_view_nav_start --perfherder --hooks
22     testing/performance/hooks_android_startup.py --AndroidStartUp-product=fenix
23     --AndroidStartUp-release-channel=nightly
24   `,
25   options: {
26     test_parameters: {
27       single_date: null, // Dates in YYYY.MM.DD format
28       date_range: [], // 2 Dates in YYYY.MM.DD format the first and last date(inclusive)
29       startup_cache: true,
30       test_cycles: 50,
31     },
32   },