b7b0af6b22296e9ced334647a3022553bd8fa459,perfkitbenchmarker/linux_packages/ior.py,,ParseMdtestResults,#Any#,97
Before Change
Parses the test output and returns samples.
match = re.search("Command line used: (.*)", test_output)
command_line = match.group(1)
match = re.search(r"(\d+) tasks, (\d+) files/directories", test_output)
num_tasks, num_files = match.groups()
metadata = {
"command_line": command_line, "num_tasks": num_tasks,
"num_files": num_files
After Change
result_lines = re.findall(_MDTEST_RESULT_REGEX, summary)
for result_line in result_lines:
op_type, max_ops, min_ops, mean_ops, std_dev = result_line
if not float(mean_ops):
continue
results.append(sample.Sample(
op_type + " (Mean)", float(mean_ops), "OPs/s", metadata))
if float(std_dev):
results.extend([
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: b7b0af6b22296e9ced334647a3022553bd8fa459
Time: 2018-06-11
Author: ehankland@google.com
File Name: perfkitbenchmarker/linux_packages/ior.py
Class Name:
Method Name: ParseMdtestResults
Project Name: andresriancho/w3af
Commit Name: 69ff07c2bf368ebc0d6f0700a9735451ed851999
Time: 2018-01-02
Author: andres.riancho@gmail.com
File Name: w3af/plugins/audit/global_redirect.py
Class Name: global_redirect
Method Name: _javascript_redirect
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: d0e0042b5bdb9af188f9deb6ded5f56e6ba50fb6
Time: 2016-10-21
Author: jerjou@users.noreply.github.com
File Name: speech/grpc/transcribe_streaming.py
Class Name:
Method Name: listen_print_loop