tree: e0e60461fd30838f2278c90d3a809f0050bd880e [path history] [tgz]
  1. config/
  2. node_modules/
  3. src/
  4. .clang-format
  5. .gitignore
  6. bs-config.js
  7. BUILD.gn
  8. index.html
  9. jest.headless.config.js
  10. jest.jsdom.config.js
  11. jest.unit.config.js
  12. node
  13. npm
  14. OWNERS
  15. package-lock.json
  16. package.json
  17. perfetto.css
  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.