You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
608 B
36 lines
608 B
4 months ago
|
# Perfetto UI
|
||
|
|
||
|
Quick Start
|
||
|
-----------
|
||
|
Run:
|
||
|
|
||
|
```bash
|
||
|
$ git clone https://android.googlesource.com/platform/external/perfetto/
|
||
|
$ cd perfetto
|
||
|
$ tools/install-build-deps --ui
|
||
|
$ tools/gn gen out/debug --args='is_debug=true'
|
||
|
$ tools/ninja -C out/debug ui
|
||
|
```
|
||
|
|
||
|
For more details on `gn` configs see
|
||
|
[Build Instructions](../docs/contributing/build-instructions.md).
|
||
|
|
||
|
To run the tests:
|
||
|
```bash
|
||
|
$ out/debug/ui_unittests
|
||
|
$ out/debug/ui_tests
|
||
|
```
|
||
|
|
||
|
To run the tests in watch mode:
|
||
|
```bash
|
||
|
$ out/debug/ui_unittests --watch
|
||
|
```
|
||
|
|
||
|
Finally run:
|
||
|
|
||
|
```bash
|
||
|
$ ./ui/run-dev-server out/debug
|
||
|
```
|
||
|
|
||
|
and navigate to `localhost:10000`.
|