tree: e38dd31052ca473ea4924972d5a3b2eaf7cce49c [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-compui-pubsub-topics.sh
  29. create-ingestion-ct-pubsub-topics.sh
  30. create-ingestion-flutter-engine2-pubsub-topics.sh
  31. create-ingestion-flutter-flutter-pubsub-topics.sh
  32. create-ingestion-flutter-flutter2-pubsub-topics.sh
  33. create-ingestion-flutter-pubsub-topics.sh
  34. create-ingestion-pubsub-topics.sh
  35. demo.sh
  36. DESIGN.md
  37. FORMAT.md
  38. Makefile
  39. migrate.sh
  40. PERFSERVER.md
  41. PERFTOOL.md
  42. PROD.md
  43. README.md
  44. reingest-android-data.sh
  45. TRIAGE.md
  46. 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