Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
config/ | 03-May-2024 | - | 295 | 171 | ||
release/ | 03-May-2024 | - | 305 | 166 | ||
src/ | 03-May-2024 | - | 67,517 | 50,674 | ||
.clang-format | D | 03-May-2024 | 126 | 5 | 5 | |
.eslintrc.js | D | 03-May-2024 | 2.3 KiB | 72 | 40 | |
.gitignore | D | 03-May-2024 | 29 | 4 | 3 | |
BUILD.gn | D | 03-May-2024 | 1.5 KiB | 55 | 48 | |
OWNERS | D | 03-May-2024 | 186 | 9 | 7 | |
PRESUBMIT.py | D | 03-May-2024 | 2.2 KiB | 79 | 47 | |
README.md | D | 03-May-2024 | 994 | 48 | 31 | |
build | D | 03-May-2024 | 693 | 19 | 2 | |
build.js | D | 03-May-2024 | 28.8 KiB | 805 | 584 | |
eslint | D | 03-May-2024 | 937 | 27 | 9 | |
eslint-all | D | 03-May-2024 | 781 | 20 | 3 | |
node | D | 03-May-2024 | 713 | 19 | 3 | |
npm | D | 03-May-2024 | 712 | 19 | 3 | |
package-lock.json | D | 03-May-2024 | 749 KiB | 19,934 | 19,933 | |
package.json | D | 03-May-2024 | 1.8 KiB | 64 | 63 | |
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.9 KiB | 29 | 28 | |
tsconfig.json | D | 03-May-2024 | 615 | 23 | 22 |
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