eaeea2277c217dd315b1cf8b77a929f339b55ac7,perfkitbenchmarker/linux_benchmarks/openfoam_benchmark.py,,Run,#Any#,310
Before Change
samples = []
for dimensions in FLAGS.openfoam_dimensions:
results = _RunCase(master_vm, dimensions)
common_metadata = {
"case_name": FLAGS.openfoam_case,
"dimensions": dimensions,
"total_cpus_available": num_cpus_available,
"total_cpus_used": num_cpus_to_use,
"openfoam_version": _GetOpenfoamVersion(master_vm),
"openmpi_version": _GetOpenmpiVersion(master_vm),
"mpi_mapping": FLAGS.openfoam_mpi_mapping,
}
for result in results:
result.metadata.update(common_metadata)
samples.extend(results)
return samples
After Change
}
logging.info("Running %s case on %s/%s cores on %s vms", case_name,
num_cpus_to_use, num_cpus_available, num_vms)
logging.info("Common metadata: %s", common_metadata)
// Configure the run
master_vm.RemoteCommand("cp -r {case_path} {destination}".format(
case_path=posixpath.join(openfoam.OPENFOAM_ROOT, _CASE_PATHS[case_name]),
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: eaeea2277c217dd315b1cf8b77a929f339b55ac7
Time: 2019-12-30
Author: liubrandon@google.com
File Name: perfkitbenchmarker/linux_benchmarks/openfoam_benchmark.py
Class Name:
Method Name: Run
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: ef11449a79f5bff17abfa4360d72b59ac752a8ec
Time: 2017-04-03
Author: tedsta@google.com
File Name: perfkitbenchmarker/linux_benchmarks/memcached_ycsb_benchmark.py
Class Name:
Method Name: Run
Project Name: deepchem/deepchem
Commit Name: f1f9412267d265a328c1966668cdee2030e25158
Time: 2019-06-14
Author: vsomnath@student.ethz.ch
File Name: deepchem/molnet/load_function/bace_datasets.py
Class Name:
Method Name: load_bace_classification