c8562cb88ee363f1ca5aab37880fb4277bb7f16a,perfkitbenchmarker/linux_benchmarks/openfoam_benchmark.py,,GetConfig,#Any#,129

Before Change



def GetConfig(user_config):
  Returns the configuration of a benchmark.
  return configs.LoadConfig(BENCHMARK_CONFIG, user_config, BENCHMARK_NAME)


def Prepare(benchmark_spec):
  Prepares the VMs and other resources for running the benchmark.

After Change



def GetConfig(user_config):
  Returns the configuration of a benchmark.
  config = configs.LoadConfig(BENCHMARK_CONFIG, user_config, BENCHMARK_NAME)
  if FLAGS["num_vms"].present:
    config["vm_groups"]["default"]["vm_count"] = FLAGS.num_vms
  return config


def Prepare(benchmark_spec):
  Prepares the VMs and other resources for running the benchmark.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 14

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: c8562cb88ee363f1ca5aab37880fb4277bb7f16a
Time: 2019-11-26
Author: liubrandon@google.com
File Name: perfkitbenchmarker/linux_benchmarks/openfoam_benchmark.py
Class Name:
Method Name: GetConfig


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: bc68079fe5711a3609a08155cd06f6f07d453814
Time: 2016-07-09
Author: kexi@google.com
File Name: perfkitbenchmarker/linux_benchmarks/jdbc_ycsb_benchmark.py
Class Name:
Method Name: GetConfig


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: f832404dc6f6dbe541b6b8329410ee972c760865
Time: 2016-07-06
Author: kexi@google.com
File Name: perfkitbenchmarker/linux_benchmarks/cloud_datastore_ycsb_benchmark.py
Class Name:
Method Name: GetConfig


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 585f3af1222334d1fe839c0e1588051760644570
Time: 2018-08-07
Author: ruwa@google.com
File Name: perfkitbenchmarker/linux_benchmarks/cloud_redis_ycsb_benchmark.py
Class Name:
Method Name: GetConfig