Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
config/ | 03-May-2024 | - | 346 | 202 | ||
release/ | 03-May-2024 | - | 215 | 135 | ||
src/ | 03-May-2024 | - | 48,926 | 36,980 | ||
.clang-format | D | 03-May-2024 | 126 | 5 | 5 | |
.gitignore | D | 03-May-2024 | 20 | 3 | 2 | |
BUILD.gn | D | 03-May-2024 | 1.6 KiB | 55 | 48 | |
OWNERS | D | 03-May-2024 | 186 | 9 | 7 | |
PRESUBMIT.py | D | 03-May-2024 | 2.4 KiB | 76 | 44 | |
README.md | D | 03-May-2024 | 994 | 48 | 31 | |
build | D | 03-May-2024 | 693 | 19 | 2 | |
build.js | D | 03-May-2024 | 26.3 KiB | 737 | 533 | |
node | D | 03-May-2024 | 713 | 19 | 3 | |
npm | D | 03-May-2024 | 712 | 19 | 3 | |
package-lock.json | D | 03-May-2024 | 255 KiB | 6,824 | 6,823 | |
package.json | D | 03-May-2024 | 1.5 KiB | 57 | 56 | |
run-all-tests | D | 03-May-2024 | 844 | 21 | 4 | |
run-dev-server | D | 03-May-2024 | 708 | 18 | 2 | |
run-integrationtests | D | 03-May-2024 | 716 | 19 | 2 | |
run-unittests | D | 03-May-2024 | 709 | 19 | 2 | |
tsconfig.base.json | D | 03-May-2024 | 1.8 KiB | 28 | 27 | |
tsconfig.json | D | 03-May-2024 | 535 | 21 | 20 | |
tslint.json | D | 03-May-2024 | 2.4 KiB | 75 | 74 |
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