Title: [211444] trunk/PerformanceTests
Revision
211444
Author
[email protected]
Date
2017-01-31 12:45:45 -0800 (Tue, 31 Jan 2017)

Log Message

Add framerate baselines to the splay-detail test
https://bugs.webkit.org/show_bug.cgi?id=167659

Reviewed by Geoffrey Garen.

* JetStream/Octane2/splay-detail.html:

Modified Paths

Diff

Modified: trunk/PerformanceTests/ChangeLog (211443 => 211444)


--- trunk/PerformanceTests/ChangeLog	2017-01-31 20:25:46 UTC (rev 211443)
+++ trunk/PerformanceTests/ChangeLog	2017-01-31 20:45:45 UTC (rev 211444)
@@ -1,3 +1,12 @@
+2017-01-16  Filip Pizlo  <[email protected]>
+
+        Add framerate baselines to the splay-detail test
+        https://bugs.webkit.org/show_bug.cgi?id=167659
+
+        Reviewed by Geoffrey Garen.
+
+        * JetStream/Octane2/splay-detail.html:
+
 2017-01-31  Carlos Alberto Lopez Perez  <[email protected]>
 
         [EFL][GTK] Skip some IndexedDB tests that time out on the Perf bots.

Modified: trunk/PerformanceTests/JetStream/Octane2/splay-detail.html (211443 => 211444)


--- trunk/PerformanceTests/JetStream/Octane2/splay-detail.html	2017-01-31 20:25:46 UTC (rev 211443)
+++ trunk/PerformanceTests/JetStream/Octane2/splay-detail.html	2017-01-31 20:45:45 UTC (rev 211444)
@@ -863,6 +863,11 @@
     for (var i = 0; i < samples.length; ++i)
         scatterData.push({x: i + 1, y: samples[i]});
     
+    function msForHz(hz)
+    {
+        return 1000/hz;
+    }
+    
     if (myChart)
         myChart.destroy();
     myChart = new Chart(
@@ -870,13 +875,36 @@
         {
             type: "line",
             data: {
-                datasets: [{
-                    label: "Splay Tick Times",
-                    pointBorderColor: "rgba(0,0,0,0)",
-                    borderColor: "rgba(50,50,150,0.8)",
-                    pointRadius: 0,
-                    data: scatterData
-                }]
+                datasets: [
+                    {
+                        label: "60Hz",
+                        pointBorderColor: "rgba(0,0,0,0)",
+                        borderColor: "rgba(0,0,0,0.5)",
+                        borderDash: [6, 6],
+                        backgroundColor: "rgba(0,0,0,0)",
+                        pointRadius: 0,
+                        data: [{x:1, y:msForHz(60)}, {x:samples.length, y:msForHz(60)}],
+                        fill: false
+                    },
+                    {
+                        label: "120Hz",
+                        pointBorderColor: "rgba(0,0,0,0)",
+                        borderColor: "rgba(255,0,0,0.7)",
+                        borderDash: [3, 3],
+                        backgroundColor: "rgba(0,0,0,0)",
+                        pointRadius: 0,
+                        data: [{x:1, y:msForHz(120)}, {x:samples.length, y:msForHz(120)}],
+                        fill: false
+                    },
+                    {
+                        label: "Splay",
+                        pointBorderColor: "rgba(0,0,0,0)",
+                        borderColor: "rgba(50,50,150,0.8)",
+                        backgroundColor: "rgba(0,0,0,0)",
+                        pointRadius: 0,
+                        data: scatterData
+                    }
+                ]
             },
             options: {
                 scales: {
@@ -904,7 +932,12 @@
                     }]
                 },
                 legend: {
-                    display: false
+                    display: true,
+                    position: "right",
+                    labels: {
+                        fillColor: "rgba(0,0,0,0)",
+                        fontSize: 24
+                    }
                 },
                 title: {
                     display: true,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to