• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Perfetto UI
2
3Quick Start
4-----------
5Run:
6
7```bash
8$ git clone https://android.googlesource.com/platform/external/perfetto/
9$ cd perfetto
10$ tools/install-build-deps --ui
11$ tools/gn gen out/debug --args='is_debug=true'
12$ tools/ninja -C out/debug ui
13```
14
15For more details on `gn` configs see
16[Build Instructions](../docs/contributing/build-instructions.md).
17
18To run the tests:
19```bash
20$ out/debug/ui_unittests
21$ out/debug/ui_tests
22```
23
24To run the tests in watch mode:
25```bash
26$ out/debug/ui_unittests --watch
27```
28
29Finally run:
30
31```bash
32$ ./ui/run-dev-server out/debug
33```
34
35and navigate to `localhost:10000`.
36