Changes

Jump to: navigation, search

TestEngineering/Performance/Raptor

77 bytes removed, 09:27, 27 May 2021
Page-Load Tests
* The test URL is loaded; measurements taken
* The tab is reloaded 24 more times; measurements taken each time
* The measurements from the first page-load are not included in overall results metrics b/c of first load noise; however they are listed in the perfherder-data.json/raptor.json JSON artifacts
'''Raptor warm page-load test process when running on Firefox android browser apps:'''
* The android app data is cleared (via `<code>adb shell pm clear firefox.app.binary.name`</code>)
* The new browser profile is copied onto the android device sdcard
* The Firefox android app is started up
* The test URL is loaded; measurements taken
* The tab is reloaded 14 more times; measurements taken each time
* The measurements from the first page-load are not included in overall results metrics b/c of first load noise; however they are listed in the perfherder-data.json/raptor.json JSON artifacts
==== Cold Page-Load ====
For cold page-load tests, the desktop browser (or android browser app) is shut down and restarted between page load cycles; so the browser is cold on each page-load. This is what happens for Raptor cold page-load tests:
'''Raptor cold page-load test process when running on Firefox/Chrome/Chromium desktop:'''
==== Using Live Sites ====
It is possible to use live web pages for the page-load tests instead of using the mitproxy mitmproxy recordings.
To run a particular Raptor tp6 page-load test with live sites, open the raptor-tp6*.ini file ([https://searchfox.org/mozilla-central/source/testing/raptor/raptor/tests Raptor tests folder]), and for the test default (or under a single page/subtest) just add this attribute:
Confirm
2,177
edits

Navigation menu