tree: fb2105ba99367d4d95ce5d76cbeef68e8b351225 [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. README.md
  20. rollup.config.js
  21. run-dev-server
  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 --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.