]> git.basschouten.com Git - sp3dashboard.git/commitdiff
Add new Windows HW to the dashboard and remove annotations other than benchmark relea...
authorBas Schouten <bschouten@mozilla.com>
Wed, 26 Jun 2024 11:55:53 +0000 (11:55 +0000)
committerBas Schouten <bschouten@mozilla.com>
Wed, 26 Jun 2024 11:55:53 +0000 (11:55 +0000)
details.html
index.html

index 6b2736bebe047021ee196c5bd50f8523abd0c614..9950490e04db289572fbb52af2505b2ad1733eb9 100644 (file)
@@ -35,6 +35,8 @@
       total_sig_chrome = 4589463;
       total_sig_car = 4836588;
       platform = 'macosx1015-64-shippable-qr';
+    } else if (searchParams.get('os') == 'windows-new') {
+      platform = 'windows11-64-shippable-qr';
     } else if (searchParams.get('os') == 'osxm2') {
       total_sig_firefox = 5042783;
       total_sig_chrome = 5044184;
     function loadChart() {
       if (searchParams.get('os') == 'osx') {
         document.getElementById("macbutton").style = "background-color:gray;";
+      } else if (searchParams.get('os') == 'windows-new') {
+        document.getElementById("winnewbutton").style = "background-color:gray;";
       } else if (searchParams.get('os') == 'linux') {
         document.getElementById("linuxbutton").style = "background-color:gray;";
       } else if (searchParams.get('os') == 'android') {
           plugins: {
             annotation: {
               annotations: {
-                line5: {
-                  type: 'line',
-                  xMin: '2023-06-07 00:00',
-                  xMax: '2023-06-07 00:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label5: {
-                  type: 'label',
-                  xValue: '2023-06-07 00:00',
-                  yValue: platform == 'android-hw-a51-11-0-aarch64-shippable-qr' ? 200 : 40,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['Multiple Tests Added'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
-                line6: {
-                  type: 'line',
-                  xMin: '2023-06-15 08:00',
-                  xMax: '2023-06-15 08:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label6: {
-                  type: 'label',
-                  xValue: '2023-06-15 08:00',
-                  yValue: platform == 'android-hw-a51-11-0-aarch64-shippable-qr' ? 200 : 40,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['Perf-Dashboard Added'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
-                line7: {
-                  type: 'line',
-                  xMin: '2023-07-04 21:00',
-                  xMax: '2023-07-04 21:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label7: {
-                  type: 'label',
-                  xValue: '2023-07-04 21:00',
-                  yValue: platform == 'android-hw-a51-11-0-aarch64-shippable-qr' ? 200 : 40,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['rAF Switch/Tests Added'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
-                line8: {
-                  type: 'line',
-                  xMin: '2023-12-30 17:00',
-                  xMax: '2023-12-30 17:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label8: {
-                  type: 'label',
-                  xValue: '2023-12-30 17:00',
-                  yValue: platform == 'android-hw-a51-11-0-aarch64-shippable-qr' ? 200 : 40,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['Complex-DOM Workloads/Freeze'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
                 line9: {
                   type: 'line',
                   xMin: '2024-03-09 00:00',
   <center>
     <table class="buttons">
       <tr><td colspan="6" style="height:80px;"><a href="index.html">Overall</a></td></tr>
-      <tr><td colspan="3"><a href="details.html" id="windowsbutton">Windows</a></td><td colspan="3"><a href="details.html?os=linux" id="linuxbutton">Linux</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-s21" id="mobilebutton2">Android (S21)</a></td><td colspan="2" style="height:50px;"><a href="details.html?os=android-p6" id="mobilebutton3">Android (Pixel 6)</a></td></tr>
     </table>
index 069059b65d81a46407ba28301d89c8f0e7f102e5..995e0fd383eba20f239342b3b9fa573cd984e8bc 100644 (file)
           plugins: {
             annotation: {
               annotations: {
-                line4: {
-                  type: 'line',
-                  xMin: '2023-04-14 08:00',
-                  xMax: '2023-04-14 08:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label4: {
-                  type: 'label',
-                  xValue: '2023-04-14 08:00',
-                  yValue: 40,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['Svelte Added'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
-                line5: {
-                  type: 'line',
-                  xMin: '2023-06-07 00:00',
-                  xMax: '2023-06-07 00:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label5: {
-                  type: 'label',
-                  xValue: '2023-06-07 00:00',
-                  yValue: 40,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['Multiple Tests Added'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
-                line6: {
-                  type: 'line',
-                  xMin: '2023-06-15 08:00',
-                  xMax: '2023-06-15 08:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label6: {
-                  type: 'label',
-                  xValue: '2023-06-15 08:00',
-                  yValue: 40,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['Perf-Dashboard Added'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
-                line7: {
-                  type: 'line',
-                  xMin: '2023-07-04 21:00',
-                  xMax: '2023-07-04 21:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label7: {
-                  type: 'label',
-                  xValue: '2023-07-04 21:00',
-                  yValue: 40,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['rAF Switch/Tests Added'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
-                line8: {
-                  type: 'line',
-                  xMin: '2023-12-30 17:00',
-                  xMax: '2023-12-30 17:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label8: {
-                  type: 'label',
-                  xValue: '2023-12-30 17:00',
-                  yValue: 40,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['Complex-DOM Workloads/Freeze'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
                 line9: {
                   type: 'line',
                   xMin: '2024-03-09 00:00',
           plugins: {
             annotation: {
               annotations: {
-                line4: {
-                  type: 'line',
-                  xMin: '2023-04-14 08:00',
-                  xMax: '2023-04-14 08:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label4: {
-                  type: 'label',
-                  xValue: '2023-04-14 08:00',
-                  yValue: 200,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['Svelte Added'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
-                line5: {
-                  type: 'line',
-                  xMin: '2023-06-07 00:00',
-                  xMax: '2023-06-07 00:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label5: {
-                  type: 'label',
-                  xValue: '2023-06-07 00:00',
-                  yValue: 200,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['Multiple Tests Added'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
-                line6: {
-                  type: 'line',
-                  xMin: '2023-06-15 08:00',
-                  xMax: '2023-06-15 08:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label6: {
-                  type: 'label',
-                  xValue: '2023-06-15 08:00',
-                  yValue: 200,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['Perf-Dashboard Added'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
-                line7: {
-                  type: 'line',
-                  xMin: '2023-07-04 21:00',
-                  xMax: '2023-07-04 21:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label7: {
-                  type: 'label',
-                  xValue: '2023-07-04 21:00',
-                  yValue: 200,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['rAF Switch/Tests Added'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
-                line8: {
-                  type: 'line',
-                  xMin: '2023-12-30 17:00',
-                  xMax: '2023-12-30 17:00',
-                  borderColor: 'black',
-                  borderWidth: 2,
-                },
-                label8: {
-                  type: 'label',
-                  xValue: '2023-12-30 17:00',
-                  yValue: 200,
-                  backgroundColor: 'rgb(255,128,128)',
-                  content: ['Complex-DOM Workloads/Freeze'],
-                  font: {
-                    size: 14
-                  },
-                  rotation: -90,
-                  borderRadius: 4
-                },
                 line9: {
                   type: 'line',
                   xMin: '2024-03-09 00:00',
   <center>
     <table class="buttons">
       <tr><td colspan="6" style="height:80px;"><a href="index.html" style="background-color:gray;">Overall</a></td></tr>
-      <tr><td colspan="3"><a href="details.html" id="windowsbutton">Windows</a></td><td colspan="3"><a href="details.html?os=linux" id="linuxbutton">Linux</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-s21" id="mobilebutton">Android (S21)</a></td><td colspan="2" style="height:50px;"><a href="details.html?os=android" id="mobilebutton">Android (Pixel 6)</a></td></tr>
     </table>