tree: b57c5fcfb12e9b3eda4b5117ddfb672e40b0c6a7 [path history] [tgz]
  1. config/
  2. src/
  3. .clang-format
  4. .gitignore
  5. BUILD.gn
  6. deploy
  7. index.html
  8. jest.headless.config.js
  9. jest.jsdom.config.js
  10. jest.unit.config.js
  11. node
  12. npm
  13. OWNERS
  14. package-lock.json
  15. package.json
  16. PRESUBMIT.py
  17. query.html
  18. README.md
  19. rollup.config.js
  20. run-dev-server
  21. tsconfig.base.json
  22. tsconfig.json
  23. 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 --ui
$ tools/gn gen out/debug --args='is_debug=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:10000.