| 1 |
// This Source Code Form is subject to the terms of the Mozilla Public |
| 2 |
// License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 |
// file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 4 |
/* eslint-env node */ |
| 5 |
"use strict"; |
| 6 |
function setUp() {} |
| 7 |
|
| 8 |
function tearDown() {} |
| 9 |
|
| 10 |
function test() {} |
| 11 |
|
| 12 |
module.exports = { |
| 13 |
setUp, |
| 14 |
tearDown, |
| 15 |
test, |
| 16 |
owner: "Performance Testing Team", |
| 17 |
name: "webpagetest-firefox", |
| 18 |
description: |
| 19 |
"Run webpagetest performance pageload tests on Firefox against Alexa top 50 websites", |
| 20 |
longDescription: `This mozperftest gets webpagetest to run pageload tests on Firefox against the 50 most popular |
| 21 |
websites and provide data. The full list of data returned from webpagetest: firstContentfulPaint, |
| 22 |
timeToContentfulPaint, visualComplete90, firstPaint, visualComplete99, visualComplete, SpeedIndex, bytesIn, bytesOut, |
| 23 |
TTFB, fullyLoadedCPUms, fullyLoadedCPUpct, domElements, domContentLoadedEventStart, domContentLoadedEventEnd, |
| 24 |
loadEventStart, loadEventEnd`, |
| 25 |
options: { |
| 26 |
test_parameters: { |
| 27 |
location: "IAD_US_01", |
| 28 |
browser: "Firefox", |
| 29 |
connection: "Cable", |
| 30 |
timeout_limit: 21600, |
| 31 |
wait_between_requests: 5, |
| 32 |
statistics: ["average", "median", "standardDeviation"], |
| 33 |
label: "", |
| 34 |
runs: 3, |
| 35 |
fvonly: 0, |
| 36 |
private: 0, |
| 37 |
web10: 0, |
| 38 |
script: "", |
| 39 |
block: "", |
| 40 |
video: 1, |
| 41 |
tcpdump: 0, |
| 42 |
noimages: 0, |
| 43 |
keepua: 1, |
| 44 |
uastring: "", |
| 45 |
htmlbody: 0, |
| 46 |
custom: "", |
| 47 |
ignoreSSL: 0, |
| 48 |
appendua: "", |
| 49 |
injectScript: "", |
| 50 |
disableAVIF: 0, |
| 51 |
disableWEBP: 0, |
| 52 |
disableJXL: 0, |
| 53 |
}, |
| 54 |
test_list: [ |
| 55 |
"google.com", |
| 56 |
"youtube.com", |
| 57 |
"facebook.com", |
| 58 |
"qq.com", |
| 59 |
"baidu.com", |
| 60 |
"sohu.com", |
| 61 |
"360.cn", |
| 62 |
"jd.com", |
| 63 |
"amazon.com", |
| 64 |
"yahoo.com", |
| 65 |
"zoom.us", |
| 66 |
"sina.com.cn", |
| 67 |
"live.com", |
| 68 |
"reddit.com", |
| 69 |
"netflix.com", |
| 70 |
"microsoft.com", |
| 71 |
"instagram.com", |
| 72 |
"google.com.hk", |
| 73 |
"csdn.net", |
| 74 |
"bing.com", |
| 75 |
"vk.com", |
| 76 |
"yahoo.co.jp", |
| 77 |
"twitter.com", |
| 78 |
"naver.com", |
| 79 |
"ebay.com", |
| 80 |
"force.com", |
| 81 |
"amazon.in", |
| 82 |
"adobe.com", |
| 83 |
"aliexpress.com", |
| 84 |
"linkedin.com", |
| 85 |
"tianya.cn", |
| 86 |
"yy.com", |
| 87 |
"huanqiu.com", |
| 88 |
"amazon.co.jp", |
| 89 |
"okezone.com", |
| 90 |
], |
| 91 |
browser_metrics: [ |
| 92 |
"firstContentfulPaint", |
| 93 |
"visualComplete90", |
| 94 |
"firstPaint", |
| 95 |
"visualComplete99", |
| 96 |
"visualComplete", |
| 97 |
"SpeedIndex", |
| 98 |
"bytesIn", |
| 99 |
"bytesOut", |
| 100 |
"TTFB", |
| 101 |
"fullyLoadedCPUms", |
| 102 |
"fullyLoadedCPUpct", |
| 103 |
"domElements", |
| 104 |
"domContentLoadedEventStart", |
| 105 |
"domContentLoadedEventEnd", |
| 106 |
"loadEventStart", |
| 107 |
"loadEventEnd", |
| 108 |
], |
| 109 |
}, |
| 110 |
}; |