cc137d5842be6910fd8a11a1f09c4f383bc93587,perfkitbenchmarker/linux_benchmarks/gpu_pcie_bandwidth_benchmark.py,,_ParseOutputFromSingleIteration,#Any#,111
Before Change
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")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
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: OpenNMT/OpenNMT-py
Commit Name: 5226e0bcdcb42b2d2d8806134599b70a5249d8a1
Time: 2017-12-29
Author: myscarlet@sina.com
File Name: tools/test_rouge.py
Class Name:
Method Name: test_rouge
Project Name: chakki-works/doccano
Commit Name: 49d41416e440926f0a9a8243b4d77f6f5468efe9
Time: 2019-03-12
Author: light.tree.1.13@gmail.com
File Name: app/server/utils.py
Class Name: JsonHandler
Method Name: parse