зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
4f05a46731
Коммит
073550024c
|
@ -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>
|
|
||||||
<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>
|
<script>
|
||||||
window.onload = function(event) {
|
// give lots of preallocated processes time to start, so we don't
|
||||||
if (window.tpRecordTime) window.tpRecordTime(event.timeStamp);
|
// measure OS process-start time
|
||||||
}
|
setTimeout(function(){ window.location.href = 'index2.html';}, 3000);
|
||||||
</script>
|
</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>
|
Загрузка…
Ссылка в новой задаче