unplugged-system/external/perfetto/ui
2025-10-06 13:59:42 +00:00
..
config Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
release Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
src Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
.clang-format Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
.eslintrc.js Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
build Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
BUILD.gn Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
build.js Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
eslint Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
eslint-all Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
node Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
npm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OWNERS Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
package-lock.json Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
package.json Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
PRESUBMIT.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
run-all-tests Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
run-dev-server Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
run-integrationtests Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
run-unittests Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
tsconfig.base.json Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
tsconfig.json Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

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