You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 year ago | |
|---|---|---|
| .. | ||
| config | 1 year ago | |
| release | 1 year ago | |
| src | 1 year ago | |
| .clang-format | 1 year ago | |
| .eslintrc.js | 1 year ago | |
| .gitignore | 1 year ago | |
| BUILD.gn | 1 year ago | |
| OWNERS | 1 year ago | |
| PRESUBMIT.py | 1 year ago | |
| README.md | 1 year ago | |
| build | 1 year ago | |
| build.js | 1 year ago | |
| eslint | 1 year ago | |
| eslint-all | 1 year ago | |
| node | 1 year ago | |
| npm | 1 year ago | |
| package-lock.json | 1 year ago | |
| package.json | 1 year ago | |
| run-all-tests | 1 year ago | |
| run-dev-server | 1 year ago | |
| run-integrationtests | 1 year ago | |
| run-unittests | 1 year ago | |
| tsconfig.base.json | 1 year ago | |
| tsconfig.json | 1 year ago | |
README.md
Perfetto UI
Quick Start
$ git clone https://android.googlesource.com/platform/external/perfetto/
$ cd perfetto
# Will build into ./out/ui by default. Can be changed with --out path/
# The final bundle will be available at ./ui/out/dist/.
# The build script creates a symlink from ./ui/out to $OUT_PATH/ui/.
ui/build
# This will automatically build the UI. There is no need to manually run
# ui/build before running ui/run-dev-server.
ui/run-dev-server
Then navigate to http://localhost:10000.
See also https://perfetto.dev/docs/contributing/build-instructions#ui-development
Unit tests
ui/run-unittests # Add --watch to run them in watch mode.
Integration tests (browser screenshot difftests)
run-integrationtests
To rebaseline screenshots after a UI change
ui/run-integrationtests --rebaseline
tools/test_data upload
git add -A
git commit
See also https://perfetto.dev/docs/contributing/testing#ui-pixel-diff-tests