Source code

Revision control

Copy as Markdown

Other Tools

# 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/.
# Raptor-browsertime interactive responsiveness tests
[DEFAULT]
accept_zero_vismet = true
alert_on = fcp, loadtime, ContentfulSpeedIndex, PerceptualSpeedIndex, SpeedIndex, FirstVisualChange, LastVisualChange
alert_threshold = 2.0
apps = firefox, chrome, chromium
browser_cycles = 25
gecko_profile_entries = 14000000
gecko_profile_interval = 1
interactive = true
lower_is_better = true
owner = PerfTest Team
page_cycles = 25
page_timeout = 60000
playback = mitmproxy
playback_version = 6.0.2
type = pageload
unit = ms
use_live_sites = false
# Keep this list in alphabetical order
# Do not use `measure.start(URL)` in interactive tests if they need to be recorded,
# see bug 1737822 for more information. Instead, use `navigate(URL)` after starting
# calling `measure.start(ALIAS)`.
[cnn-nav]
browser_cycles = 10 # used with --cold
playback_pageset_manifest = mitm7-linux-firefox-cnn-nav.manifest
playback_version = 7.0.4
test_cmds =
["measure.start", "landing"],
["navigate", "https://www.cnn.com"],
["wait.byTime", 4000],
["measure.stop", ""],
["measure.start", "world"],
["click.byXpathAndWait", "/html/body/div[5]/div/div/header/div/div[1]/div/div[2]/nav/ul/li[2]/a"],
["wait.byTime", 1000],
["measure.stop", ""],
[facebook-nav]
browser_cycles = 10 # used with --cold
page_timeout = 90000
playback_pageset_manifest = mitm6-windows-firefox-facebook-nav.manifest
test_cmds =
["measure.start", "landing"],
["navigate", "https://www.facebook.com/"],
["wait.byTime", 5000],
["measure.stop", ""],
["measure.start", "marketplace"],
["wait.byTime", 5000],
["measure.stop", ""],
["measure.start", "groups"],
["wait.byTime", 5000],
["measure.stop", ""],
["measure.start", "friends"],
["wait.byTime", 5000],
["measure.stop", ""],
[reddit-billgates-ama]
page_timeout = 240000 # at most 4 minutes required per browser cycle
browser_cycles = 10 # used with --cold
playback_pageset_manifest = mitm6-windows-firefox-reddit-billgates-ama.manifest
test_cmds =
["measure.start", "billg-ama"],
["wait.byTime", 5000],
["measure.stop", ""],
["measure.start", "members"],
["click.byXpathAndWait", "/html/body/div[1]/div/div[2]/div[2]/div/div[3]/div[2]/div/div[1]/div/div[4]/div[1]/div"],
["wait.byTime", 1000],
["measure.stop", ""],
[reddit-billgates-post-1]
browser_cycles = 10 # used with --cold
page_timeout = 90000
playback_pageset_manifest = mitm6-windows-firefox-reddit-billgates-post.manifest
test_cmds =
["measure.start", "billg"],
["wait.byTime", 500],
["measure.stop", ""],
["measure.start", "posts"],
["click.byXpathAndWait", "/html/body/div[1]/div/div[2]/div[2]/div/div/div/div[2]/div[2]/div/div/div/a[2]"],
["wait.byTime", 500],
["measure.stop", ""],
["measure.start", "comments"],
["click.byXpathAndWait", "/html/body/div[1]/div/div[2]/div[2]/div/div/div/div[2]/div[2]/div/div/div/a[3]"],
["wait.byTime", 500],
["measure.stop", ""],
["wait.byTime", 500],
[reddit-billgates-post-2]
browser_cycles = 10 # used with --cold
page_timeout = 90000
playback_pageset_manifest = mitm6-windows-firefox-reddit-billgates-post.manifest
test_cmds =
["measure.start", "billg"],
["wait.byTime", 500],
["measure.stop", ""],
["click.byXpathAndWait", "/html/body/div[1]/div/div[2]/div[2]/div/div/div/div[2]/div[2]/div/div/div/a[3]"],
["wait.byTime", 500],
["measure.start", "hot"],
["click.byXpathAndWait", "/html/body/div[1]/div/div[2]/div[2]/div/div/div/div[2]/div[4]/div[1]/div[1]/div[2]/a[2]"],
["wait.byTime", 500],
["measure.stop", ""],
["measure.start", "top"],
["click.byXpathAndWait", "/html/body/div[1]/div/div[2]/div[2]/div/div/div/div[2]/div[4]/div[1]/div[1]/div[2]/a[3]"],
["wait.byTime", 500],
["measure.stop", ""],
["wait.byTime", 500],