Bug 1710870: preallocate enough processes to avoid waiting on process creation for cross_origin_pageload test r=sefeng,perftest-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D121132
This commit is contained in:
Randell Jesup 2021-08-02 18:21:39 +00:00
Родитель 4f05a46731
Коммит 073550024c
3 изменённых файлов: 37 добавлений и 27 удалений

Просмотреть файл

@ -507,6 +507,7 @@ class cross_origin_pageload(PageloaderTest):
has 20 cross origin iframes has 20 cross origin iframes
""" """
preferences = {"dom.ipc.processPrelaunch.fission.number": 30}
extensions = ["${talos}/pageloader"] extensions = ["${talos}/pageloader"]
tpmanifest = "${talos}/tests/cross_origin_pageload/cross_origin_pageload.manifest" tpmanifest = "${talos}/tests/cross_origin_pageload/cross_origin_pageload.manifest"
tppagecycles = 10 tppagecycles = 10

Просмотреть файл

@ -1,30 +1,9 @@
<html> <html>
<body> <body>
<iframe src="http://test:80/tests/cross_origin_pageload/iframe.html"></iframe> <script>
<iframe src="http://mochi.test:8888/tests/cross_origin_pageload/iframe.html"></iframe> // give lots of preallocated processes time to start, so we don't
<iframe src="http://mochi.xorigin-test:8888/tests/cross_origin_pageload/iframe.html"></iframe> // measure OS process-start time
<iframe src="http://example.org:80/tests/cross_origin_pageload/iframe.html"></iframe> setTimeout(function(){ window.location.href = 'index2.html';}, 3000);
<iframe src="http://www.example.com:80/tests/cross_origin_pageload/iframe.html"></iframe> </script>
<iframe src="http://example.net:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://www.itisatrap.org:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://xn--exmple-cua.test:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://xn--exaple-kqf.test:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://itisatracker.org:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://trackertest.org:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://fpdownload2.macromedia.com:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://w3c-test.org:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.tw:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.cn:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.co.jp:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.fi:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.in:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.lk:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://httpsfirst.com:80/tests/cross_origin_pageload/iframe.html"></iframe>
<script>
window.onload = function(event) {
if (window.tpRecordTime) window.tpRecordTime(event.timeStamp);
}
</script>
</body> </body>
</html> </html>

Просмотреть файл

@ -0,0 +1,30 @@
<html>
<body>
<iframe src="http://test:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://mochi.test:8888/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://mochi.xorigin-test:8888/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.org:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://www.example.com:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.net:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://www.itisatrap.org:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://xn--exmple-cua.test:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://xn--exaple-kqf.test:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://itisatracker.org:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://trackertest.org:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://fpdownload2.macromedia.com:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://w3c-test.org:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.tw:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.cn:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.co.jp:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.fi:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.in:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://example.lk:80/tests/cross_origin_pageload/iframe.html"></iframe>
<iframe src="http://httpsfirst.com:80/tests/cross_origin_pageload/iframe.html"></iframe>
<script>
window.onload = function(event) {
if (window.tpRecordTime) window.tpRecordTime(event.timeStamp);
}
</script>
</body>
</html>