docs: slowdown example

This commit is contained in:
soulgalore 2021-09-20 15:19:16 +02:00
parent 2d10095b8b
commit 7c0b3bc37c
1 changed files with 6 additions and 0 deletions

View File

@ -118,4 +118,10 @@ If you have multiple phones attached you probably want to run on a specific phon
```bash
ANDROID=true DEVICE_SERIAL=ZY322GXR4B ./replay.sh --config android.json https://www.sitespeed.io -n 1 -b firefox
```
If you want to slow down your test, you can add latency on your localhost that serves the web page.
```bash
ANDROID=true ./replay.sh --config android.json --browsertime.connectivity.engine throttle --browsertime.connectivity.throttle.localhost true --browsertime.connectivity.profile custom --browsertime.connectivity.rtt 100 https://www.sitespeed.io
```