32dd1ac4e1d44382f481d0e4e22a81cbb5a66510,perfkitbenchmarker/benchmarks/fio_benchmark.py,,GetIODepths,#Any#,85

Before Change


    if len(bounds) != 2:
      raise ValueError

    return range(int(bounds[0]), int(bounds[1]) + 1)


def WriteJobFile(mount_point):

After Change


    ValueError if FLAGS.io_depths doesn"t follow a format it recognizes.
  

  match = IODEPTHS_REGEXP.match(io_depths)

  if match.group(2) is None:
    return [int(match.group(1))]
  else:
    return range(int(match.group(1)), int(match.group(3)) + 1)


def WriteJobFile(mount_point):
  Write a fio job file.

  Args:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 32dd1ac4e1d44382f481d0e4e22a81cbb5a66510
Time: 2015-08-13
Author: nlavine@google.com
File Name: perfkitbenchmarker/benchmarks/fio_benchmark.py
Class Name:
Method Name: GetIODepths


Project Name: mlflow/mlflow
Commit Name: 0b871a44b534dcf5e641bb6967f484f3e338ffb0
Time: 2019-04-19
Author: 31962564+eedeleon@users.noreply.github.com
File Name: mlflow/utils/validation.py
Class Name:
Method Name: _validate_experiment_id


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: bd3a1021d7d990d5d4a8a71cc0621485af2d09e4
Time: 2019-09-03
Author: chriswilkes@google.com
File Name: perfkitbenchmarker/linux_virtual_machine.py
Class Name: LsCpuResults
Method Name: __init__