Bug 1554571 - Part 4: Add perf-reftest singleton for anonymous content style caching. r=emilio
☠☠ backed out by 0a8bb0b56daa ☠ ☠
authorCameron McCormack <cam@mcc.id.au>
Thu, 27 Jun 2019 00:25:05 +0000
changeset 543104 1cc4e6374b8a993fbb688ea01708ce6c73cd6974
parent 543103 30728685499e9c78aa43691c42cc452fb04fa444
child 543105 7423f5bc275cff6f334a5dfb2af154a9d27a2fd3
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
bugs1554571
milestone69.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 1554571 - Part 4: Add perf-reftest singleton for anonymous content style caching. r=emilio On my machine this test takes ~5200 ms with the anonymous content style caching pref disabled, and ~1000 ms with it enabled. Differential Revision: https://phabricator.services.mozilla.com/D36139
testing/talos/talos/tests/perf-reftest-singletons/perf_reftest_singletons.manifest
testing/talos/talos/tests/perf-reftest-singletons/scrollbar-styles-1.html
--- a/testing/talos/talos/tests/perf-reftest-singletons/perf_reftest_singletons.manifest
+++ b/testing/talos/talos/tests/perf-reftest-singletons/perf_reftest_singletons.manifest
@@ -8,20 +8,18 @@
 % http://localhost/tests/perf-reftest-singletons/slow-selector-2.html
 % http://localhost/tests/perf-reftest-singletons/style-attr-1.html
 % http://localhost/tests/perf-reftest-singletons/coalesce-1.html
 % http://localhost/tests/perf-reftest-singletons/coalesce-2.html
 % http://localhost/tests/perf-reftest-singletons/parent-basic-singleton.html
 % http://localhost/tests/perf-reftest-singletons/tiny-traversal-singleton.html
 % http://localhost/tests/perf-reftest-singletons/nth-index-1.html
 % http://localhost/tests/perf-reftest-singletons/nth-index-2.html
-
 % http://localhost/tests/perf-reftest-singletons/bidi-resolution-1.html
-
 % http://localhost/tests/perf-reftest-singletons/id-getter-1.html
 % http://localhost/tests/perf-reftest-singletons/id-getter-2.html
 % http://localhost/tests/perf-reftest-singletons/id-getter-3.html
 % http://localhost/tests/perf-reftest-singletons/id-getter-4.html
 % http://localhost/tests/perf-reftest-singletons/id-getter-5.html
 % http://localhost/tests/perf-reftest-singletons/id-getter-6.html
 % http://localhost/tests/perf-reftest-singletons/id-getter-7.html
-
 % http://localhost/tests/perf-reftest-singletons/abspos-reflow-1.html
+% http://localhost/tests/perf-reftest-singletons/scrollbar-styles-1.html
new file mode 100644
--- /dev/null
+++ b/testing/talos/talos/tests/perf-reftest-singletons/scrollbar-styles-1.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+div { overflow: auto; }
+</style>
+<script src="util.js"></script>
+<script>
+window.onload = function() {
+  let root = document.createElement("div");
+  root.appendChild(build_dom(10000, "div"));
+  document.body.appendChild(root);
+  perf_start();
+  flush_layout(root);
+  perf_finish();
+};
+</script>
+<body></body>