Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: mojo/devtools/common/docs/mojo_benchmark.md

Issue 1394303004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 3). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_2-x-no_public_1
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/converters/surfaces/tests/BUILD.gn ('k') | mojo/gpu/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # mojo_benchmark 1 # mojo_benchmark
2 2
3 `mojo_benchmark` allows you to run performance tests for any Mojo application 3 `mojo_benchmark` allows you to run performance tests for any Mojo application
4 that participates in the [tracing 4 that participates in the [tracing
5 ecosystem](https://github.com/domokit/mojo/blob/master/mojo/services/tracing/pub lic/interfaces/tracing.mojom) 5 ecosystem](https://github.com/domokit/mojo/blob/master/mojo/services/tracing/int erfaces/tracing.mojom)
6 with no app changes required. 6 with no app changes required.
7 7
8 The script reads a list of benchmarks to run from a file, runs each benchmark in 8 The script reads a list of benchmarks to run from a file, runs each benchmark in
9 controlled caching conditions with tracing enabled and performs specified 9 controlled caching conditions with tracing enabled and performs specified
10 measurements on the collected trace data. 10 measurements on the collected trace data.
11 11
12 ## Defining benchmarks 12 ## Defining benchmarks
13 13
14 `mojo_benchmark` runs performance tests defined in a benchmark file. The 14 `mojo_benchmark` runs performance tests defined in a benchmark file. The
15 benchmark file is a Python dictionary of the following format: 15 benchmark file is a Python dictionary of the following format:
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 { 65 {
66 'name': 'My app initialization', 66 'name': 'My app initialization',
67 'app': 'https://my_domain/my_app.mojo', 67 'app': 'https://my_domain/my_app.mojo',
68 'duration': 10, 68 'duration': 10,
69 'measurements': [ 69 'measurements': [
70 'time_until/my_app/initialized', 70 'time_until/my_app/initialized',
71 ], 71 ],
72 }, 72 },
73 ] 73 ]
74 ``` 74 ```
OLDNEW
« no previous file with comments | « mojo/converters/surfaces/tests/BUILD.gn ('k') | mojo/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698