android13/external/perfetto/ui
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
config initial 2024-06-22 20:45:49 +08:00
release initial 2024-06-22 20:45:49 +08:00
src initial 2024-06-22 20:45:49 +08:00
.clang-format initial 2024-06-22 20:45:49 +08:00
BUILD.gn initial 2024-06-22 20:45:49 +08:00
OWNERS initial 2024-06-22 20:45:49 +08:00
PRESUBMIT.py initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
build initial 2024-06-22 20:45:49 +08:00
build.js initial 2024-06-22 20:45:49 +08:00
node initial 2024-06-22 20:45:49 +08:00
npm initial 2024-06-22 20:45:49 +08:00
package-lock.json initial 2024-06-22 20:45:49 +08:00
package.json initial 2024-06-22 20:45:49 +08:00
run-all-tests initial 2024-06-22 20:45:49 +08:00
run-dev-server initial 2024-06-22 20:45:49 +08:00
run-integrationtests initial 2024-06-22 20:45:49 +08:00
run-unittests initial 2024-06-22 20:45:49 +08:00
tsconfig.base.json initial 2024-06-22 20:45:49 +08:00
tsconfig.json initial 2024-06-22 20:45:49 +08:00
tslint.json initial 2024-06-22 20:45:49 +08:00

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