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