tree: ac5d4ab2f2ebdd3af59335ca95aa55a7edbb4ead [path history] [tgz]
  1. backup/
  2. cockroachdb/
  3. configs/
  4. csv2days/
  5. demo/
  6. go/
  7. integration/
  8. jupyter/
  9. lint/
  10. migrations/
  11. modules/
  12. nanostat/
  13. pages/
  14. res/
  15. samplevariance/
  16. scripts/
  17. secrets/
  18. .eslintrc.js
  19. .gitignore
  20. API.md
  21. BACKUPS.md
  22. BUILD.bazel
  23. CHECKLIST.md
  24. COCKROACHDB.md
  25. create-ingestion-android-pubsub-topics.sh
  26. create-ingestion-android-x-pubsub-topics.sh
  27. create-ingestion-android-x2-pubsub-topics.sh
  28. create-ingestion-ct-pubsub-topics.sh
  29. create-ingestion-flutter-engine2-pubsub-topics.sh
  30. create-ingestion-flutter-flutter-pubsub-topics.sh
  31. create-ingestion-flutter-flutter2-pubsub-topics.sh
  32. create-ingestion-flutter-pubsub-topics.sh
  33. create-ingestion-pubsub-topics.sh
  34. demo.sh
  35. DESIGN.md
  36. FORMAT.md
  37. Makefile
  38. migrate.sh
  39. PERFSERVER.md
  40. PERFTOOL.md
  41. PROD.md
  42. README.md
  43. reingest-android-data.sh
  44. TRIAGE.md
  45. tslint.json
perf/README.md

SkiaPerf Server

Reads Skia performance data from databases and serves interactive dashboards for easy exploration and annotations.

Developing

First check out this repo and get all the dependencies per this README.md, including the Cloud SDK, which is needed to run tests locally.

In addition you will also need to install the cockroach binary. Download the full executable from here..

All building and testing is done by Bazel, but there is a Makefile that records regularly used commands.

Build

To build the full project:

bazelisk build --config=mayberemote //perf/...

Test

To run all the tests:

bazelisk test --config=mayberemote //perf/...

Note the first time you run this it will fail and inform you of the gcloud simulators that need to be running in the background and how to start them.

Running locally

To run a local instance of Perf against a fake dataset:

make run-demo-instance

You can also view demo/test pages of a web components by running demopage.sh from the root of the repo and passing in the relative path of the web component you want to view, for example:

./demopage.sh perf/modules/day-range-sk

Note you need to have entr installed for this to work:

sudo apt install entr