summaryrefslogtreecommitdiffstats
path: root/testing/performance/perftest_WPT_firefox_init_file.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/performance/perftest_WPT_firefox_init_file.js
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/performance/perftest_WPT_firefox_init_file.js')
-rw-r--r--testing/performance/perftest_WPT_firefox_init_file.js112
1 files changed, 112 insertions, 0 deletions
diff --git a/testing/performance/perftest_WPT_firefox_init_file.js b/testing/performance/perftest_WPT_firefox_init_file.js
new file mode 100644
index 0000000000..e35d62fb34
--- /dev/null
+++ b/testing/performance/perftest_WPT_firefox_init_file.js
@@ -0,0 +1,112 @@
+// 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-firefox",
+ description:
+ "Run webpagetest performance pageload tests on Firefox against Alexa top 50 websites",
+ longDescription: `This mozperftest gets webpagetest to run pageload tests on Firefox 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: 0,
+ 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",
+ "sina.com.cn",
+ "live.com",
+ "reddit.com",
+ "netflix.com",
+ "microsoft.com",
+ "instagram.com",
+ "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",
+ ],
+ browser_metrics: [
+ "firstContentfulPaint",
+ "timeToContentfulPaint",
+ "visualComplete90",
+ "firstPaint",
+ "visualComplete99",
+ "visualComplete",
+ "SpeedIndex",
+ "bytesIn",
+ "bytesOut",
+ "TTFB",
+ "fullyLoadedCPUms",
+ "fullyLoadedCPUpct",
+ "domElements",
+ "domContentLoadedEventStart",
+ "domContentLoadedEventEnd",
+ "loadEventStart",
+ "loadEventEnd",
+ ],
+ },
+};