]> git.basschouten.com Git - sp3dashboard.git/commitdiff
Adjust for naming change of P6 and S24, also change A51 button to S24, and include...
authorBas Schouten <bschouten@mozilla.com>
Thu, 21 Nov 2024 14:47:17 +0000 (14:47 +0000)
committerBas Schouten <bschouten@mozilla.com>
Thu, 21 Nov 2024 14:47:17 +0000 (14:47 +0000)
details-subtests.html
details.html
index.html

index 9e983d647bec07fe0c8ed041fd7cfc8582f87b2d..2da0c2ca25aa250f9276cdaf4b58abb1d78e6fc2 100644 (file)
     } else if (searchParams.get('os') == 'android-s21') {
       platform = 'android-hw-s21-13-0-android-aarch64-shippable-qr';
     } else if (searchParams.get('os') == 'android-a55') {
-      platform = 'android-hw-a55-14-0-android-aarch64-shippable-qr';
+      platform = 'android-hw-a55-14-0-aarch64-shippable';
     } else if (searchParams.get('os') == 'android-p6') {
-      platform = 'android-hw-p6-13-0-android-aarch64-shippable-qr';
+      platform = 'android-hw-p6-13-0-aarch64-shippable';
+    } else if (searchParams.get('os') == 'android-s24') {
+      platform = 'android-hw-s24-14-0-aarch64-shippable';
     }
 
     function getDiffColor(diff) {
       let xyValuesChrome = {};
       let xyValuesCaR = {};
       let xyValuesSafari = {};
+      let xyValuesSafariTP = {};
       let signatures = {};
       data.query_result.data.rows.forEach(function (row) {
         if (row.platform != platform) {
           xyValuesChrome[row.test] = [];
           xyValuesCaR[row.test] = [];
           xyValuesSafari[row.test] = [];
+          xyValuesSafariTP[row.test] = [];
           signatures[row.test] = {};
         }
 
         if (row.application == 'chrome' || row.application == 'chrome-m') { xyValuesChrome[row.test].push({ x: row.push_timestamp, y: row.mean }); }
         if (row.application == 'custom-car' || row.application == 'cstm-car-m') { xyValuesCaR[row.test].push({ x: row.push_timestamp, y: row.mean }); }
         if (row.application == 'safari') { xyValuesSafari[row.test].push({ x: row.push_timestamp, y: row.mean }); }
+        if (row.application == 'safari-tp') { xyValuesSafariTP[row.test].push({ x: row.push_timestamp, y: row.mean }); }
       });
 
       let i = 0;
           });
         }
 
+        if (xyValuesSafariTP[test].length > 0) {
+          cfg.data.datasets.push({
+            label: 'Safari TP',
+            pointRadius: 4,
+            pointBackgroundColor: "#777",
+            pointBorderColor: "#44444444",
+            data: xyValuesSafari[test]
+          });
+        }
+
         charts.push(new Chart("myChart-" + test, cfg));
       }
     }
     <table class="buttons">
       <tr><td colspan="2"><a href="details-subtests.html" id="windowsbutton">Windows</a></td><td colspan="2"><a href="details-subtests.html?os=windows-new" id="winnewbutton">Windows (New)</a></td><td colspan="2"><a href="details-subtests.html?os=linux" id="linuxbutton">Linux</a></td></tr>
       <tr><td colspan="3"><a href="details-subtests.html?os=osx" id="macbutton">Mac OSX</a></td><td colspan="3" style="height:50px;"><a href="details-subtests.html?os=osxm2" id="osxm2button">Mac OSX (M2)</a></td></tr>
-      <tr><td colspan="2" style="padding-bottom:80px;"><a href="details-subtests.html?os=android" id="mobilebutton">Android (A51)</a></td><td colspan="2" style="padding-bottom: 80px;"><a href="details-subtests.html?os=android-a55" id="mobilebutton2">Android (A55)</a></td><td colspan="2" style="padding-bottom: 80px;"><a href="details-subtests.html?os=android-p6" id="mobilebutton3">Android (Pixel 6)</a></td></tr>
+      <tr><td colspan="2" style="padding-bottom:80px;"><a href="details-subtests.html?os=android-s24" id="mobilebutton">Android (S24)</a></td><td colspan="2" style="padding-bottom: 80px;"><a href="details-subtests.html?os=android-a55" id="mobilebutton2">Android (A55)</a></td><td colspan="2" style="padding-bottom: 80px;"><a href="details-subtests.html?os=android-p6" id="mobilebutton3">Android (Pixel 6)</a></td></tr>
       <tr><td colspan="2"><a id="fxbutton" href="javascript:dataSetVisible[0] = !dataSetVisible[0]; updateVisibility();">Firefox</a></td><td colspan="2"><a id="chromebutton" href="javascript:dataSetVisible[1] = !dataSetVisible[1]; updateVisibility();">Chrome</a></td><td colspan="2"><a id="carbutton" href="javascript:dataSetVisible[2] = !dataSetVisible[2]; updateVisibility();">CaR</a></td></tr>
     </table>
 
index 35ff5c29a6fc6283664e230470db5a0a58dd0477..16a2f61e40f9ca5177f96664ac014fe6351d87dd 100644 (file)
@@ -36,6 +36,9 @@
       total_sig_car = 4836588;
       platform = 'macosx1015-64-shippable-qr';
     } else if (searchParams.get('os') == 'windows-new') {
+      total_sig_firefox = 87472;
+      total_sig_chrome = 92125;
+      total_sig_car = 92557;
       platform = 'windows11-64-shippable-qr';
     } else if (searchParams.get('os') == 'osxm2') {
       total_sig_firefox = 5042783;
       likelyDataURL = 'https://sql.telemetry.mozilla.org/api/queries/90959/results.json?api_key=uuoiM8Xdob1HcGB5UxdFG3TvZi6D08kfNR5pWC9O';
       timeWindow = '4wk';
     } else if (searchParams.get('os') == 'android-s24') {
-      total_sig_firefox = 5052258;
-      total_sig_chrome = 5051172;
-      total_sig_car = 5052905;
-      platform = 'android-hw-s24-14-0-android-aarch64-shippable-qr';
+      total_sig_firefox = 274646;
+      total_sig_chrome = 275618;
+      total_sig_car = 280648;
+      platform = 'android-hw-s24-14-0-aarch64-shippable';
       likelyDataURL = 'https://sql.telemetry.mozilla.org/api/queries/90959/results.json?api_key=uuoiM8Xdob1HcGB5UxdFG3TvZi6D08kfNR5pWC9O';
       timeWindow = '4wk';
     } else if (searchParams.get('os') == 'android-a55') {
       likelyDataURL = 'https://sql.telemetry.mozilla.org/api/queries/90959/results.json?api_key=uuoiM8Xdob1HcGB5UxdFG3TvZi6D08kfNR5pWC9O';
       timeWindow = '4wk';
     } else if (searchParams.get('os') == 'android-p6') {
-      total_sig_firefox = 5051862;
-      total_sig_chrome = 5050973;
-      total_sig_car = 5053103;
-      platform = 'android-hw-p6-13-0-android-aarch64-shippable-qr';
+      total_sig_firefox = 275091;
+      total_sig_chrome = 275819;
+      total_sig_car = 281010;
+      platform = 'android-hw-p6-13-0-aarch64-shippable';
       likelyDataURL = 'https://sql.telemetry.mozilla.org/api/queries/90959/results.json?api_key=uuoiM8Xdob1HcGB5UxdFG3TvZi6D08kfNR5pWC9O';
       timeWindow = '4wk';
     }
       <tr><td colspan="6" style="height:80px;"><a href="index.html">Overall</a></td></tr>
       <tr><td colspan="2"><a href="details.html" id="windowsbutton">Windows</a></td><td colspan="2"><a href="details.html?os=windows-new" id="winnewbutton">Windows (New)</a></td><td colspan="2"><a href="details.html?os=linux" id="linuxbutton">Linux</a></td></tr>
       <tr><td colspan="3"><a href="details.html?os=osx" id="macbutton">Mac OSX</a></td><td colspan="3" style="height:50px;"><a href="details.html?os=osxm2" id="osxm2button">Mac OSX (M2)</a></td></tr>
-      <tr><td colspan="2" style="height:50px;"><a href="details.html?os=android" id="mobilebutton">Android (A51)</a></td><td colspan="2" style="height:50px;"><a href="details.html?os=android-a55" id="mobilebutton2">Android (A55)</a></td><td colspan="2" style="height:50px;"><a href="details.html?os=android-p6" id="mobilebutton3">Android (Pixel 6)</a></td></tr>
+      <tr><td colspan="2" style="height:50px;"><a href="details.html?os=android-s24" id="mobilebutton">Android (S24)</a></td><td colspan="2" style="height:50px;"><a href="details.html?os=android-a55" id="mobilebutton2">Android (A55)</a></td><td colspan="2" style="height:50px;"><a href="details.html?os=android-p6" id="mobilebutton3">Android (Pixel 6)</a></td></tr>
     </table>
 
     <h3>Current Status (lower is better)</h3>
index 43842fe7f54b66111dc4debeaec46ea747a78267..cab3e9f66bfebc29f873adcf21d0799328ad62b3 100644 (file)
           return 0.5;
         case 'android-hw-p6-13-0-android-aarch64-shippable-qr':
           return 0.25;
+        case 'android-hw-p6-13-0-aarch64-shippable':
+          return 0.25;
         case 'android-hw-s24-14-0-android-aarch64-shippable-qr':
           return 0.25;
+        case 'android-hw-s24-14-0-aarch64-shippable':
+          return 0.25;
         default:
           return 0.0;
       }
       <tr><td colspan="6" style="height:80px;"><a href="index.html" style="background-color:gray;">Overall</a></td></tr>
       <tr><td colspan="2"><a href="details.html" id="windowsbutton">Windows</a></td><td colspan="2"><a href="details.html?os=windows-new" id="winnewbutton">Windows (New)</a></td><td colspan="2"><a href="details.html?os=linux" id="linuxbutton">Linux</a></td></tr>
       <tr><td colspan="3"><a href="details.html?os=osx" id="macbutton">Mac OSX</a></td><td colspan="3" style="height:50px;"><a href="details.html?os=osxm2" id="osxm2button">Mac OSX (M2)</a></td></tr>
-      <tr><td colspan="2" style="height:50px;"><a href="details.html?os=android" id="mobilebutton">Android (A51)</a></td><td colspan="2" style="height:50px;"><a href="details.html?os=android-a55" id="mobilebutton">Android (A55)</a></td><td colspan="2" style="height:50px;"><a href="details.html?os=android" id="mobilebutton">Android (Pixel 6)</a></td></tr>
+      <tr><td colspan="2" style="height:50px;"><a href="details.html?os=android-s24" id="mobilebutton">Android (S24)</a></td><td colspan="2" style="height:50px;"><a href="details.html?os=android-a55" id="mobilebutton">Android (A55)</a></td><td colspan="2" style="height:50px;"><a href="details.html?os=android" id="mobilebutton">Android (Pixel 6)</a></td></tr>
     </table>
 
     <table>