OLD | NEW |
1 # Blink Performance Tests | 1 # Blink Performance Tests |
2 | 2 |
3 [TOC] | 3 [TOC] |
4 | 4 |
5 ## Overview | 5 ## Overview |
6 | 6 |
7 Blink perf tests are used for micro benchmarking the surface of Blink that | 7 Blink perf tests are used for micro benchmarking the surface of Blink that |
8 is exposed to the Web. They are the counterpart of [LayoutTests/](../../../docs/
testing/layout_tests.md) | 8 is exposed to the Web. They are the counterpart of [LayoutTests/](../../../docs/
testing/layout_tests.md) |
9 but for performance coverage. | 9 but for performance coverage. |
10 | 10 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 143 |
144 Example of tracing asynchronous tests: | 144 Example of tracing asynchronous tests: |
145 | 145 |
146 [color-changes-measure-frame-time.html](TestData/color-changes-measure-frame-tim
e.html) | 146 [color-changes-measure-frame-time.html](TestData/color-changes-measure-frame-tim
e.html) |
147 | 147 |
148 [simple-blob-measure-async.html](TestData/simple-blob-measure-async.html) | 148 [simple-blob-measure-async.html](TestData/simple-blob-measure-async.html) |
149 | 149 |
150 | 150 |
151 ## Running Tests | 151 ## Running Tests |
152 | 152 |
153 ** Running tests directly in browser ** | 153 **Running tests directly in browser** |
| 154 |
154 Most of Blink Performance tests should be runnable by just open the test file | 155 Most of Blink Performance tests should be runnable by just open the test file |
155 directly in the browser. However, features like tracing metrics & HTML results | 156 directly in the browser. However, features like tracing metrics & HTML results |
156 viewer won't be supported. | 157 viewer won't be supported. |
157 | 158 |
158 ** Running tests with Telemetry ** | 159 **Running tests with Telemetry** |
159 Assuming your current directory is chromium/src/, you can run tests with: | 160 |
| 161 Assuming your current directory is `chromium/src/`, you can run tests with: |
160 | 162 |
161 `./tools/perf/run_benchmark blink_perf [--test-path=<path to your tests>]` | 163 `./tools/perf/run_benchmark blink_perf [--test-path=<path to your tests>]` |
162 | 164 |
163 For information about all supported options, run: | 165 For information about all supported options, run: |
164 | 166 |
165 `./tools/perf/run_benchmark blink_perf --help` | 167 `./tools/perf/run_benchmark blink_perf --help` |
OLD | NEW |