Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davehunt committed Feb 16, 2023
1 parent 3cf6612 commit ba1eccd
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion src/awfy.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,14 +452,35 @@ Object.entries(SITES).forEach(([siteKey, siteLabel]) => {
});
});

const MOZPERF_APPS = {
fenix: {
name: 'fenix',
label: 'Fenix',
color: PALETTE.orange,
project: PROJECT,
},
geckoview: {
name: 'geckoview',
label: 'GeckoView',
color: PALETTE.indigo,
project: ALT_PROJECT,
},
focus: {
name: 'focus',
label: 'Focus',
color: PALETTE.red,
project: PROJECT,
},
};

const MOZPERF_TESTS = {
AndroidStartup: { label: 'Startup' },
};

Object.entries(MOZPERF_TESTS).forEach(([testKey, test]) => {
const bmKey = `mozperftest-${testKey}`;
BENCHMARKS[bmKey] = { compare: {}, label: test.label };
Object.entries(MOBILE_APPS).forEach(([appKey, app]) => {
Object.entries(MOZPERF_APPS).forEach(([appKey, app]) => {
BENCHMARKS[bmKey].compare[appKey] = {
color: app.color,
label: app.label,
Expand Down

0 comments on commit ba1eccd

Please sign in to comment.