TestEngineering/Performance/Raptor: Difference between revisions

m
Line 42: Line 42:
'''Raptor cold page-load test process when running on Firefox/Chrome/Chromium desktop:'''
'''Raptor cold page-load test process when running on Firefox/Chrome/Chromium desktop:'''


- The desktop browser (or android browser app) is started up
* A new browser profile is created
- todo finish this
* The desktop browser is started up
* Post-startup browser settle pause of 30 seconds
* A new tab is opened
* The test URL is loaded; measurements taken
* The tab is closed
* The desktop browser is shutdown
* Entire process is repeated for the remaining browser cycles (25 cycles total)
* The measurements from all browser cycles are used to calculate overall results


'''Raptor cold page-load test process when running on Firefox android browser apps:'''
'''Raptor cold page-load test process when running on Firefox android browser apps:'''


- The android app data is cleared (via `adb shell pm clear firefox.app.binary.name`)
* The android app data is cleared (via `adb shell pm clear firefox.app.binary.name`)
- todo finish this
* A new browser profile is created
* The new browser profile is copied onto the android device sdcard
* The Firefox android app is started up
* Post-startup browser settle pause of 30 seconds
* On Fennec only, a new browser tab is created (other Firefox apps use the single/existing tab)
* The test URL is loaded; measurements taken
* The android app is shutdown
* Entire process is repeated for the remaining browser cycles (15 cycles total)
* Note that the SSL cert DB is only created once (browser cycle 1) and copied into the profile for each additional browser cycle; thus not having to use the 'certutil' tool and re-created the db on each cycle
* The measurements from all browser cycles are used to calculate overall results


==== Using Live Sites ====
==== Using Live Sites ====
Confirmed users
372

edits