aboutsummaryrefslogtreecommitdiff
path: root/ui/README.md
blob: ed0cd4145cdb718ae4cf28ebed638c8432968979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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/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`.