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 原始碼