• Home
Name Date Size #Lines LOC

..--

config/03-May-2024-295171

release/03-May-2024-305166

src/03-May-2024-67,51750,674

.clang-formatD03-May-2024126 55

.eslintrc.jsD03-May-20242.3 KiB7240

.gitignoreD03-May-202429 43

BUILD.gnD03-May-20241.5 KiB5548

OWNERSD03-May-2024186 97

PRESUBMIT.pyD03-May-20242.2 KiB7947

README.mdD03-May-2024994 4831

buildD03-May-2024693 192

build.jsD03-May-202428.8 KiB805584

eslintD03-May-2024937 279

eslint-allD03-May-2024781 203

nodeD03-May-2024713 193

npmD03-May-2024712 193

package-lock.jsonD03-May-2024749 KiB19,93419,933

package.jsonD03-May-20241.8 KiB6463

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.9 KiB2928

tsconfig.jsonD03-May-2024615 2322

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