tree: 7c41243c43943debaa82a479c20f757d3d7e164e [path history] [tgz]
  1. config/
  2. node_modules/
  3. src/
  4. types/
  5. .clang-format
  6. .gitignore
  7. bs-config.js
  8. BUILD.gn
  9. deploy
  10. index.html
  11. jest.headless.config.js
  12. jest.jsdom.config.js
  13. jest.unit.config.js
  14. node
  15. npm
  16. OWNERS
  17. package-lock.json
  18. package.json
  19. PRESUBMIT.py
  20. query.html
  21. README.md
  22. rollup.config.js
  23. run-dev-server
  24. tsconfig.json
  25. tslint.json
ui/README.md

Perfetto UI

Quick Start

Run:

$ git clone https://android.googlesource.com/platform/external/perfetto/
$ cd perfetto
$ tools/install-build-deps --no-android --ui
$ tools/gn gen out/debug --args='is_debug=true is_clang=true'
$ tools/ninja -C out/debug ui

For more details on gn configs see Build Instructions.

To run the tests:

$ out/debug/ui_unittests
$ out/debug/ui_tests

To run the tests in watch mode:

$ out/debug/ui_unittests --watch

Finally run:

$ ./ui/run-dev-server out/debug

and navigate to localhost:3000.