Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
config/ | H | 25-Apr-2025 | - | 185 | 110 | |
release/ | H | 25-Apr-2025 | - | 269 | 153 | |
src/ | H | 25-Apr-2025 | - | 106,011 | 78,859 | |
.eslintrc.js | H A D | 25-Apr-2025 | 2.9 KiB | 91 | 54 | |
.gitignore | H A D | 25-Apr-2025 | 49 | 5 | 4 | |
.prettierignore | H A D | 25-Apr-2025 | 185 | 12 | 10 | |
.prettierrc.yml | H A D | 25-Apr-2025 | 220 | 13 | 12 | |
BUILD.gn | H A D | 25-Apr-2025 | 1.6 KiB | 56 | 49 | |
OWNERS | H A D | 25-Apr-2025 | 194 | 9 | 7 | |
PRESUBMIT.py | H A D | 25-Apr-2025 | 2.7 KiB | 99 | 61 | |
README.md | H A D | 25-Apr-2025 | 1 KiB | 51 | 33 | |
build | H A D | 25-Apr-2025 | 693 | 19 | 2 | |
build.js | H A D | 25-Apr-2025 | 30.8 KiB | 891 | 660 | |
eslint | H A D | 25-Apr-2025 | 1,004 | 31 | 11 | |
eslint.config.js | H A D | 25-Apr-2025 | 3.6 KiB | 133 | 94 | |
format-sources | H A D | 25-Apr-2025 | 4.4 KiB | 132 | 87 | |
node | H A D | 25-Apr-2025 | 713 | 19 | 3 | |
npm | H A D | 25-Apr-2025 | 803 | 22 | 5 | |
package.json | H A D | 25-Apr-2025 | 2.5 KiB | 85 | 84 | |
playwright.config.ts | H A D | 25-Apr-2025 | 2.6 KiB | 93 | 69 | |
pnpm | H A D | 25-Apr-2025 | 804 | 22 | 5 | |
pnpm-lock.yaml | H A D | 25-Apr-2025 | 205.8 KiB | 6,147 | 5,370 | |
prettier | H A D | 25-Apr-2025 | 1 KiB | 32 | 12 | |
run-all-tests | H A D | 25-Apr-2025 | 844 | 21 | 4 | |
run-dev-server | H A D | 25-Apr-2025 | 708 | 18 | 2 | |
run-integrationtests | H A D | 25-Apr-2025 | 1.8 KiB | 62 | 39 | |
run-unittests | H A D | 25-Apr-2025 | 709 | 19 | 2 | |
tsconfig.base.json | H A D | 25-Apr-2025 | 1.9 KiB | 29 | 28 | |
tsconfig.json | H A D | 25-Apr-2025 | 685 | 25 | 24 |
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