mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
Bug 1641108 - Add perf-reftest-singleton for bug 1640545 changes. r=emilio,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D76966
This commit is contained in:
parent
dcaf3bd40f
commit
4d86697e24
@ -40,6 +40,7 @@
|
||||
"js-input/sunspider/string-unpack-code.html",
|
||||
"js-input/sunspider/string-validate-input.html",
|
||||
"talos/tests/perf-reftest-singletons/abspos-reflow-1.html",
|
||||
"talos/tests/perf-reftest-singletons/attr-selector-1.html",
|
||||
"talos/tests/perf-reftest-singletons/bidi-resolution-1.html",
|
||||
"talos/tests/perf-reftest-singletons/bloom-basic-2.html",
|
||||
"talos/tests/perf-reftest-singletons/bloom-basic.html",
|
||||
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<body>
|
||||
<script src="util.js"></script>
|
||||
<script>
|
||||
window.onload = function() {
|
||||
document.body.appendChild(build_dom(10000, "div", { attributes: { "data-x": "https://example.com/b/abcdefghijklmnopqrstuvwxyz" } }));
|
||||
flush_layout(document.body);
|
||||
document.head.appendChild(build_rule("[data-x^='https://example.com/a']", 10000, "{}"));
|
||||
document.head.appendChild(build_rule("[data-x$='abcdefghijklmnopqrstuvwxy.']", 10000, "{}"));
|
||||
document.head.appendChild(build_rule("[data-x*='abcdefghijklmnopqrstuvwxy.']", 10000, "{}"));
|
||||
perf_start();
|
||||
flush_style(document.body.lastChild);
|
||||
perf_finish();
|
||||
};
|
||||
</script>
|
@ -1,5 +1,6 @@
|
||||
# When modifying this list, please also update build/pgo/index.html.
|
||||
% http://localhost/tests/perf-reftest-singletons/abspos-reflow-1.html
|
||||
% http://localhost/tests/perf-reftest-singletons/attr-selector-1.html
|
||||
% http://localhost/tests/perf-reftest-singletons/bidi-resolution-1.html
|
||||
% http://localhost/tests/perf-reftest-singletons/bloom-basic-2.html
|
||||
% http://localhost/tests/perf-reftest-singletons/bloom-basic.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user