tree: 71b0eda0e7a1ded3d02feec8bccd100207df3e15 [path history] [tgz]
  1. config/
  2. node_modules/
  3. src/
  4. .clang-format
  5. .gitignore
  6. BUILD.gn
  7. deploy
  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. PRESUBMIT.py
  18. query.html
  19. README.md
  20. rollup.config.js
  21. run-dev-server
  22. tsconfig.base.json
  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 --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.