fx extract-metrics

从 Fuchsia 性能结果中提取指标。

Usage: fx extract-metrics <suite_prefix> [data_dir] [--out-file <path>]

Traverses a directory tree to find `.fuchsiaperf.json` files and
extracts metrics under the provided test suite prefix.
The results are aggregated and sorted deterministically.

Arguments:
  suite_prefix The test suite prefix by which to filter metrics (e.g. fuchsia.microbenchmarks).
  data_dir     The directory to process. Defaults to the current directory.

Options:
  --out-file   A path to save the resulting CSV. By default, output will
               be printed to stdout.

extract-metrics 源代码