Name Date Size #Lines LOC

..--

config/H25-Apr-2025-185110

release/H25-Apr-2025-269153

src/H25-Apr-2025-106,01178,859

.eslintrc.jsH A D25-Apr-20252.9 KiB9154

.gitignoreH A D25-Apr-202549 54

.prettierignoreH A D25-Apr-2025185 1210

.prettierrc.ymlH A D25-Apr-2025220 1312

BUILD.gnH A D25-Apr-20251.6 KiB5649

OWNERSH A D25-Apr-2025194 97

PRESUBMIT.pyH A D25-Apr-20252.7 KiB9961

README.mdH A D25-Apr-20251 KiB5133

buildH A D25-Apr-2025693 192

build.jsH A D25-Apr-202530.8 KiB891660

eslintH A D25-Apr-20251,004 3111

eslint.config.jsH A D25-Apr-20253.6 KiB13394

format-sourcesH A D25-Apr-20254.4 KiB13287

nodeH A D25-Apr-2025713 193

npmH A D25-Apr-2025803 225

package.jsonH A D25-Apr-20252.5 KiB8584

playwright.config.tsH A D25-Apr-20252.6 KiB9369

pnpmH A D25-Apr-2025804 225

pnpm-lock.yamlH A D25-Apr-2025205.8 KiB6,1475,370

prettierH A D25-Apr-20251 KiB3212

run-all-testsH A D25-Apr-2025844 214

run-dev-serverH A D25-Apr-2025708 182

run-integrationtestsH A D25-Apr-20251.8 KiB6239

run-unittestsH A D25-Apr-2025709 192

tsconfig.base.jsonH A D25-Apr-20251.9 KiB2928

tsconfig.jsonH A D25-Apr-2025685 2524

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