A CLI for uploading to the Catapult dashboard.
Convert Fuchsia performance test output into a HistogramSet for the Catapult dashboard:
catapult make_histogram \ --datetime=1234455667789 \ --test-suite=fuchsia.example.benchmark \ --builder=fuchsia.example.builder \ --bucket=fuchsia.example.bucket \ /path/to/test_results.json > histogram_set.json
Upload a file containing a HistogramSet to the Catapult dashboard:
catapult upload \ --url=https://chromeperf.appspot.com/add_histograms \ --service-account-json=/path/to/acccount.json \ histogram_set.json
Specify the revision number corresponding to the given sample data whenever possible using -revision-diagnostic
and -revision
. Both flags must be specified together or not at all. The revision will show up in a sample point's tooltip and make it easier to debug anomalies.
The value given for -revision-diagnostic
must be registered with the Catapult dashboard. Fuchsia's registered values include:
TODO(kjharland): Document how new names are registered.