Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
config/ | 03-May-2024 | - | 96 | 36 | ||
node_modules/ | 03-May-2024 | - | ||||
src/ | 03-May-2024 | - | 15,784 | 11,613 | ||
.clang-format | D | 03-May-2024 | 126 | 5 | 5 | |
.gitignore | D | 03-May-2024 | 6 | 2 | 1 | |
BUILD.gn | D | 03-May-2024 | 14.4 KiB | 548 | 500 | |
OWNERS | D | 03-May-2024 | 20 | 2 | 1 | |
PRESUBMIT.py | D | 03-May-2024 | 2.1 KiB | 59 | 30 | |
README.md | D | 03-May-2024 | 621 | 36 | 27 | |
bs-config.js | D | 03-May-2024 | 2.5 KiB | 84 | 53 | |
deploy | D | 03-May-2024 | 3 KiB | 123 | 96 | |
index.html | D | 03-May-2024 | 594 | 17 | 16 | |
jest.headless.config.js | D | 03-May-2024 | 245 | 9 | 7 | |
jest.jsdom.config.js | D | 03-May-2024 | 109 | 7 | 5 | |
jest.unit.config.js | D | 03-May-2024 | 107 | 7 | 5 | |
node | D | 03-May-2024 | 856 | 24 | 5 | |
npm | D | 03-May-2024 | 855 | 24 | 5 | |
package-lock.json | D | 03-May-2024 | 286.9 KiB | 8,326 | 8,325 | |
package.json | D | 03-May-2024 | 1 KiB | 40 | 39 | |
query.html | D | 03-May-2024 | 1.3 KiB | 85 | 69 | |
rollup.config.js | D | 03-May-2024 | 604 | 22 | 15 | |
run-dev-server | D | 03-May-2024 | 1.4 KiB | 47 | 28 | |
tsconfig.json | D | 03-May-2024 | 2.1 KiB | 36 | 35 | |
tslint.json | D | 03-May-2024 | 2.3 KiB | 72 | 71 |
README.md
1# Perfetto UI 2 3Quick Start 4----------- 5Run: 6 7```bash 8$ git clone https://android.googlesource.com/platform/external/perfetto/ 9$ cd perfetto 10$ tools/install-build-deps --no-android --ui 11$ tools/gn gen out/debug --args='is_debug=true is_clang=true' 12$ tools/ninja -C out/debug ui 13``` 14 15For more details on `gn` configs see 16[Build Instructions](../docs/build-instructions.md). 17 18To run the tests: 19```bash 20$ out/debug/ui_unittests 21$ out/debug/ui_tests 22``` 23 24To run the tests in watch mode: 25```bash 26$ out/debug/ui_unittests --watch 27``` 28 29Finally run: 30 31```bash 32$ ./ui/run-dev-server out/debug 33``` 34 35and navigate to `localhost:3000`. 36