• Home
Name Date Size #Lines LOC

..--

config/03-May-2024-9636

node_modules/03-May-2024-

src/03-May-2024-15,78411,613

.clang-formatD03-May-2024126 55

.gitignoreD03-May-20246 21

BUILD.gnD03-May-202414.4 KiB548500

OWNERSD03-May-202420 21

PRESUBMIT.pyD03-May-20242.1 KiB5930

README.mdD03-May-2024621 3627

bs-config.jsD03-May-20242.5 KiB8453

deployD03-May-20243 KiB12396

index.htmlD03-May-2024594 1716

jest.headless.config.jsD03-May-2024245 97

jest.jsdom.config.jsD03-May-2024109 75

jest.unit.config.jsD03-May-2024107 75

nodeD03-May-2024856 245

npmD03-May-2024855 245

package-lock.jsonD03-May-2024286.9 KiB8,3268,325

package.jsonD03-May-20241 KiB4039

query.htmlD03-May-20241.3 KiB8569

rollup.config.jsD03-May-2024604 2215

run-dev-serverD03-May-20241.4 KiB4728

tsconfig.jsonD03-May-20242.1 KiB3635

tslint.jsonD03-May-20242.3 KiB7271

README.md

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 --no-android --ui
11$ tools/gn gen out/debug --args='is_debug=true is_clang=true'
12$ tools/ninja -C out/debug ui
13```
14
15For more details on `gn` configs see
16[Build Instructions](../docs/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:3000`.
36