Extracts metrics from Fuchsia performance results.

    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 source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/contrib/extract-metrics.fx)