This tool converts JSON output from Fuchsia performance tests into a format compatible with the Skia Performance ingestion pipeline.
This tool is temporarily located in the Skia Buildbot repository (perf/go/fuchsia_to_skia_perf) for development and testing purposes. It will eventually be moved to the Fuchsia repository.
To convert a Fuchsia JSON file, run the following command from the root of the Skia Buildbot repository:
go run ./perf/go/fuchsia_to_skia_perf/main.go \ -input <path/to/input.json> \ -output <path/to/output_dir/> \ -master <master_name>
<path/to/input.json> with the path to the Fuchsia JSON file.<path/to/output_dir/> with the desired directory for the output files.<master_name> with the appropriate master name (e.g., “turquoise-internal.integration.global.ci”).The tool will generate multiple JSON files in the specified output directory, named according to the pattern: <build_id>-<benchmark>-<bot>-<master>.json.
To run the tests for the conversion library:
go test ./perf/go/fuchsia_to_skia_perf/convert/...