]> git.basschouten.com Git - sp3dashboard.git/commitdiff
Change the dashboard to using the A55 instead of the A51 for the main KPI.
authorBas Schouten <bschouten@mozilla.com>
Tue, 8 Oct 2024 17:45:24 +0000 (17:45 +0000)
committerBas Schouten <bschouten@mozilla.com>
Tue, 8 Oct 2024 17:45:24 +0000 (17:45 +0000)
index.html

index 481b74fae66555d60dea232912791337da7840fe..7b63017370780f81cecda78cfa1836f36c9f5abb 100644 (file)
         CaRGeoMeanDesktop += Math.exp(arithmeticMeanOfLogsCaR[platform] / numValues[platform]) * getPlatformWeight(platform);
       }
 
-      let FxGeoMeanMobile = Math.exp(arithmeticMeanOfLogsFX['android-hw-a51-11-0-aarch64-shippable-qr'] /
-                            numValues['android-hw-a51-11-0-aarch64-shippable-qr'])
-      let ChromeGeoMeanMobile = Math.exp(arithmeticMeanOfLogsChrome['android-hw-a51-11-0-aarch64-shippable-qr'] /
-                                numValues['android-hw-a51-11-0-aarch64-shippable-qr'])
-      let CaRGeoMeanMobile = Math.exp(arithmeticMeanOfLogsCaR['android-hw-a51-11-0-aarch64-shippable-qr'] /
-        numValues['android-hw-a51-11-0-aarch64-shippable-qr'])
+      let FxGeoMeanMobile = Math.exp(arithmeticMeanOfLogsFX['android-hw-a55-14-0-android-aarch64-shippable-qr'] /
+        numValues['android-hw-a55-14-0-android-aarch64-shippable-qr'])
+      let ChromeGeoMeanMobile = Math.exp(arithmeticMeanOfLogsChrome['android-hw-a55-14-0-android-aarch64-shippable-qr'] /
+        numValues['android-hw-a55-14-0-android-aarch64-shippable-qr'])
+      let CaRGeoMeanMobile = Math.exp(arithmeticMeanOfLogsCaR['android-hw-a55-14-0-android-aarch64-shippable-qr'] /
+        numValues['android-hw-a55-14-0-android-aarch64-shippable-qr'])
       let diffDesktop = FxGeoMeanDesktop / ChromeGeoMeanDesktop - 1;
       let diffMobile = (FxGeoMeanMobile / ChromeGeoMeanMobile) - 1;
       let diffDesktopCaR = FxGeoMeanDesktop / CaRGeoMeanDesktop - 1;
 
         weightedValuesDesktop[row.push_timestamp][row.application]['value'] += getPlatformWeight(row.platform) * row.geomean;
         weightedValuesDesktop[row.push_timestamp][row.application]['totalWeight'] += getPlatformWeight(row.platform);
-        if (row.platform == 'android-hw-a51-11-0-aarch64-shippable-qr') {
+        if (row.platform == 'android-hw-a55-14-0-android-aarch64-shippable-qr') {
           if (!weightedValuesMobile.hasOwnProperty(row.push_timestamp)) {
             weightedValuesMobile[row.push_timestamp] = {};
           }
           plugins: {
             annotation: {
               annotations: {
-                line9: {
-                  type: 'line',
-                  xMin: '2024-03-09 00:00',
-                  xMax: '2024-03-09 00:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label9: {
-                  type: 'label',
-                  xValue: '2024-03-09 00:00',
-                  yValue: 200,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['Release'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
               }
             }
           }