OLD | NEW |
1 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
3 found in the LICENSE file. | 3 found in the LICENSE file. |
4 --> | 4 --> |
5 | 5 |
6 # Telemetry | 6 # Telemetry |
7 | 7 |
8 Telemetry is the performance testing framework used by Chrome. It allows you | 8 Telemetry is the performance testing framework used by Chrome. It allows you |
9 to perform arbitrary actions on a set of web pages (or any android application!) | 9 to perform arbitrary actions on a set of web pages (or any android application!) |
10 and report metrics about it. The framework abstracts: | 10 and report metrics about it. The framework abstracts: |
11 | 11 |
12 * Launching a browser with arbitrary flags on any platform. | 12 * Launching a browser with arbitrary flags on any platform. |
13 * Opening a tab and navigating to the page under test. | 13 * Opening a tab and navigating to the page under test. |
14 * Launching an Android application with intents through ADB. | 14 * Launching an Android application with intents through ADB. |
15 * Fetching data via the Inspector timeline and traces. | 15 * Fetching data via the Inspector timeline and traces. |
16 * Using [Web Page Replay](https://github.com/chromium/web-page-replay) to | 16 * Using [Web Page Replay](../web_page_replay_go/README.md) to |
17 cache real-world websites so they don’t change when used in benchmarks. | 17 cache real-world websites so they don’t change when used in benchmarks. |
18 | 18 |
19 ## Design Principles | 19 ## Design Principles |
20 | 20 |
21 * Write one performance test that runs on major platforms - Windows, Mac, | 21 * Write one performance test that runs on major platforms - Windows, Mac, |
22 Linux, Chrome OS, and Android for both Chrome and ContentShell. | 22 Linux, Chrome OS, and Android for both Chrome and ContentShell. |
23 * Run on browser binaries, without a full Chromium checkout, and without | 23 * Run on browser binaries, without a full Chromium checkout, and without |
24 having to build the browser yourself. | 24 having to build the browser yourself. |
25 * Use Web Page Replay to get repeatable test results. | 25 * Use Web Page Replay to get repeatable test results. |
26 * Clean architecture for writing benchmarks that keeps measurements and use | 26 * Clean architecture for writing benchmarks that keeps measurements and use |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 Your forwarder binary may be outdated. If you have built the forwarder in | 146 Your forwarder binary may be outdated. If you have built the forwarder in |
147 src/out that one will be used. if there isn't anything there Telemetry will | 147 src/out that one will be used. if there isn't anything there Telemetry will |
148 default to downloading a pre-built binary. Try re-building the forwarder, or | 148 default to downloading a pre-built binary. Try re-building the forwarder, or |
149 alternatively wiping the contents of `src/out/` and running `run_benchmark`, | 149 alternatively wiping the contents of `src/out/` and running `run_benchmark`, |
150 which should download the latest binary. | 150 which should download the latest binary. |
151 | 151 |
152 ### I'm having problems with keychain prompts on Mac. | 152 ### I'm having problems with keychain prompts on Mac. |
153 | 153 |
154 Make sure that your keychain is | 154 Make sure that your keychain is |
155 [correctly configured](https://sites.google.com/a/chromium.org/dev/developers/te
lemetry/telemetry-mac-keychain-setup). | 155 [correctly configured](https://sites.google.com/a/chromium.org/dev/developers/te
lemetry/telemetry-mac-keychain-setup). |
OLD | NEW |