• Home
Name Date Size #Lines LOC

..--

config/03-May-2024-346202

release/03-May-2024-215135

src/03-May-2024-48,92636,980

.clang-formatD03-May-2024126 55

.gitignoreD03-May-202420 32

BUILD.gnD03-May-20241.6 KiB5548

OWNERSD03-May-2024186 97

PRESUBMIT.pyD03-May-20242.4 KiB7644

README.mdD03-May-2024994 4831

buildD03-May-2024693 192

build.jsD03-May-202426.3 KiB737533

nodeD03-May-2024713 193

npmD03-May-2024712 193

package-lock.jsonD03-May-2024255 KiB6,8246,823

package.jsonD03-May-20241.5 KiB5756

run-all-testsD03-May-2024844 214

run-dev-serverD03-May-2024708 182

run-integrationtestsD03-May-2024716 192

run-unittestsD03-May-2024709 192

tsconfig.base.jsonD03-May-20241.8 KiB2827

tsconfig.jsonD03-May-2024535 2120

tslint.jsonD03-May-20242.4 KiB7574

README.md

1# Perfetto UI
2
3## Quick Start
4
5```bash
6$ git clone https://android.googlesource.com/platform/external/perfetto/
7$ cd perfetto
8
9# Will build into ./out/ui by default. Can be changed with --out path/
10# The final bundle will be available at ./ui/out/dist/.
11# The build script creates a symlink from ./ui/out to $OUT_PATH/ui/.
12ui/build
13
14# This will automatically build the UI. There is no need to manually run
15# ui/build before running ui/run-dev-server.
16ui/run-dev-server
17```
18
19Then navigate to `http://localhost:10000`.
20
21See also https://perfetto.dev/docs/contributing/build-instructions#ui-development
22
23## Unit tests
24
25```bash
26ui/run-unittests  # Add --watch to run them in watch mode.
27```
28
29## Integration tests (browser screenshot difftests)
30
31```bash
32run-integrationtests
33```
34
35To rebaseline screenshots after a UI change
36
37```bash
38ui/run-integrationtests --rebaseline
39
40tools/test_data upload
41
42git add -A
43
44git commit
45```
46
47See also https://perfetto.dev/docs/contributing/testing#ui-pixel-diff-tests
48