tree: d5709123f770c4490577c30ce40f9dfb5ae87368 [path history] [tgz]
  1. config/
  2. node_modules/
  3. src/
  4. .gitignore
  5. bs-config.js
  6. BUILD.gn
  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. README.md
  18. rollup.config.js
  19. run-dev-server
  20. tsconfig.json
  21. 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.