If you only use Telemetry through tools/perf/run_benchmark
script, vpython3
should already automatically install all the required deps for you, e.g:
$ tools/perf/run_benchmark --browser=system dummy_benchmark.noisy_benchmark_1
Otherwise have a look at the required catapult dependencies listed in the .vpython3 spec file.
We support the most popular version of these OSes (Mac 10.9+, Windows7/8/10, Linux Ubuntu). In most cases, your desktop environment should be ready to run Telemetry benchmarks. To keep the benchmark results stable, it’s recommended that you kill as many background processes on your desktop environment as possible (e.g: AntiVirus,..) before running the benchmarks.
Virtual Machine: see cros_vm.md doc
Actual CrOS machine: please contact achuith@, cywang@ from CrOS teams for advice.
To run Telemetry Android benchmarks, you need a host machine and an Android device attached to the host machine through USB.
WARNING: it’s highly recommended that you don’t use your personal Android device for this. Some of the steps below will wipe out the phone completely.
Host machine: we only support Linux Ubuntu as the host.
Devices: we only support rooted userdebug devices of Android version K, L, M, N and O.
export CATAPULT=$CHROMIUM_SRC/third_party/catapult $CATAPULT/devil/devil/android/tools/provision_devices.py --disable-network --disable-java-debugIf you are planning to test WebView on Android M or lower also add
--remove-system-webview
to this command, otherwise Telemetry will have trouble installing the required APKs. This should take care of everything, but see build instructions for WebView if you run into problems.--browser
types on your run_benchmark
or run_tests
command.