tree: 124529e3b21e62e49b8db93c98fdc2a08776a2f4 [path history] [tgz]
  1. BUILD.bazel
  2. main.go
  3. main_test.go
  4. Makefile


A Go program for analyzing sample variance of nanobench results stored in Google Cloud Storage (GCS). The nanobench program usually stores 10 samples from each run of a benchmark, and this tool allows looking at those samples across a wide number of runs stored on GCS.


  • Read-only access to the GCS bucket.


By default this will run over all JSON files from yesterday:

$ bazel run :samplevariance -- > top100.csv

If you want to specify the files, then pass in a GCS path via the --prefix flag:

$ bazel run :samplevariance -- --prefix=gs://skia-perf/nano-json-v1/2021/05/23/02/

You can also change the tests being considered using the --filter flag:

$ bazel run :samplevariance -- --filter=source_type=bench&sub_result=min_ms

See bazel run :samplevariance -- --help for all the options.