def Run(benchmark_spec):
  vms = benchmark_spec.vms
  vm = vms[0]
  logging.info('Bonnie++ running on %s', vm)
  bonnie_command = ('/usr/sbin/bonnie++ -q -d %s -s %d -n 100 -f' %
                    (vm.GetScratchDir(),
                     2 * vm.total_memory_kb / 1024))
  logging.info('Bonnie++ Results:')
  out, _ = vm.RemoteCommand(bonnie_command, should_log=True)
  return ParseCSVResults(out.strip())
Utility function to show legend.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_benchmarks/bonnie_benchmark.py/Run--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/graphics/boxplots.py/_show_legend