Bug 1507714: ensure we get a contentful paint before a long-running test r=mattwoodrow
authorRandell Jesup <rjesup@jesup.org>
Mon, 19 Nov 2018 16:09:44 -0500
changeset 503646 0cb993c91806dfa218746ea7bb2aa300b7af58e8
parent 503645 a9202e921ae80c9614dbe4dcce51bd089e3caf47
child 503647 936db6d8a4733822b544355138e82a96f49fd085
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow
bugs1507714
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1507714: ensure we get a contentful paint before a long-running test r=mattwoodrow
testing/talos/talos/tests/layout/benchmarks/displaylist_flattened_mutate.html
testing/talos/talos/tests/layout/benchmarks/displaylist_inactive_mutate.html
testing/talos/talos/tests/layout/benchmarks/displaylist_mutate.html
--- a/testing/talos/talos/tests/layout/benchmarks/displaylist_flattened_mutate.html
+++ b/testing/talos/talos/tests/layout/benchmarks/displaylist_flattened_mutate.html
@@ -13,16 +13,19 @@
 <body id="body">
 </body>
 <script>
 
 var start = null;
 var divCount = 2500;
 var maxIterations = 600;
 
+// ensure contentful paint occurs
+document.body.innerHTML = "DisplayList flattened mutate";
+
 for (var i = 0; i < divCount; i++) {
   var div = document.createElement("div");
   div.id = i;
   document.getElementById("body").appendChild(div);
 }
 
 var iteration = 0;
 function runFrame() {
--- a/testing/talos/talos/tests/layout/benchmarks/displaylist_inactive_mutate.html
+++ b/testing/talos/talos/tests/layout/benchmarks/displaylist_inactive_mutate.html
@@ -13,16 +13,19 @@
 <body id="body">
 </body>
 <script>
 
 var start = null;
 var divCount = 1000;
 var maxIterations = 600;
 
+// ensure contentful paint occurs
+document.body.innerHTML = "DisplayList inactive mutate";
+
 for (var i = 0; i < divCount; i++) {
   var div = document.createElement("div");
   div.id = i;
   document.getElementById("body").appendChild(div);
 }
 
 var iteration = 0;
 function runFrame() {
--- a/testing/talos/talos/tests/layout/benchmarks/displaylist_mutate.html
+++ b/testing/talos/talos/tests/layout/benchmarks/displaylist_mutate.html
@@ -12,16 +12,19 @@
 <body id="body">
 </body>
 <script>
 
 var start = null;
 var divCount = 10000;
 var maxIterations = 600;
 
+// ensure contentful paint occurs
+document.body.innerHTML = "DisplayList mutate";
+
 for (var i = 0; i < divCount; i++) {
   var div = document.createElement("div");
   div.id = i;
   document.getElementById("body").appendChild(div);
 }
 
 var iteration = 0;
 function runFrame() {