def ParseLatencyResult(result):
  match = regex_util.ExtractAllMatches(LATENCY_REGEX, result)[0]
  return float(match[0]), match[1]
Parse latency result into value and unit.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_benchmarks/bonnie_benchmark.py/ParseLatencyResult