cc137d5842be6910fd8a11a1f09c4f383bc93587,perfkitbenchmarker/linux_benchmarks/gpu_pcie_bandwidth_benchmark.py,,_ParseOutputFromSingleIteration,#Any#,111

Before Change


    All units are in MB/s, as these are the units guaranteed to be output
    by the test.
  
  matches = regex_util.ExtractAllMatches(EXTRACT_BANDWIDTH_TEST_RESULTS_REGEX,
                                         test_output)
  results = {}
  for i, metric in enumerate(BENCHMARK_METRICS):
    results[metric] = float(matches[i])
  return results


def _CalculateMetricsOverAllIterations(result_dicts, metadata={}):

After Change


    All units are in MB/s, as these are the units guaranteed to be output
    by the test.
  
  lines = [line.strip() for line in test_output.splitlines()]
  host_to_device_results_start = _FindIndexOfLineThatStartsWith(
      lines, "Host to Device Bandwidth")
  device_to_host_results_start = _FindIndexOfLineThatStartsWith(
      lines, "Device to Host Bandwidth")
  device_to_device_results_start = _FindIndexOfLineThatStartsWith(
      lines, "Device to Device Bandwidth")

  host_to_device_mean = _AverageResultsForSection(lines,
                                                  host_to_device_results_start)
  device_to_host_mean = _AverageResultsForSection(lines,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: cc137d5842be6910fd8a11a1f09c4f383bc93587
Time: 2017-08-23
Author: gareth-ferneyhough@users.noreply.github.com
File Name: perfkitbenchmarker/linux_benchmarks/gpu_pcie_bandwidth_benchmark.py
Class Name:
Method Name: _ParseOutputFromSingleIteration


Project Name: facebook/FAI-PEP
Commit Name: 9f67a534bce1063693d7716df11311e7584b6786
Time: 2018-12-11
Author: feisun@fb.com
File Name: libraries/python/classification_compare.py
Class Name: OutputCompare
Method Name: getData


Project Name: dirty-cat/dirty_cat
Commit Name: f70e71d5c7fdc8e25391e54e74c3402fb323ad5c
Time: 2018-06-06
Author: pierreglaser@msn.com
File Name: examples/plot_employee_salaries.py
Class Name:
Method Name: