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