Telemetry: Introduction to the Performance Testing Framework
Telemetry has become the framework for cross-(chrome)-platform performance testing. Telemetry is a python wrapper around of the DevTools Remote Debugging Protocol. Telemetry abstracts launching, connecting, and opening a page in whatever underlying platform Chrome is running, fetching data via the Inspector timeline and traces, loading Chrome with arbitrary flags, and using Web Page Replay to cache real-world websites so they don’t change when used in benchmarks.
It depends, what are you trying to measure?
Telemetry is designed for performance tests that:
Telemetry is opinionated in what a benchmark is. A benchmark is a measurement, page set, and optional browser options. Measurements should work with any and all page sets. We do this for consistency and to prevent benchmark rot.
Measurement: given a page, a measurement should evaluate the page’s performance
Page set: a collection of pages (either links for live sites, or a WebPageReplay archive)
If you have questions, please email email@example.com
You can keep up with Telemetry related discussions and code reviews by joining the telemetry group
How do I navigate Chrome to a certain URL?
To visit a URL, all you need to do is add the URL to a page set. For more information on maintaining page sets, see managing page sets.
I get an error when I try to use recorded page sets?
Currently, you need to have src-internal checked out to access recorded page sets. We are in the process of moving these files out of src-internal so anybody can run them. For now, you can run on live sites or record your own copies.