bd120f0c54cbde5ad23a061d9fdebacbbd45954f,perfkitbenchmarker/benchmarks/fio_benchmark.py,,GenerateJobFileString,#Any#Any#Any#Any#Any#,185

Before Change



  file_string = str(globals_template.render(filename=filename))
  size_string = str(working_set_size) + "G" if working_set_size else "100%"
  for scenario in scenarios:
    file_string = file_string + str(job_template.render(
        name=scenario["name"],
        rwkind=scenario["rwkind"],
        blocksize=scenario["blocksize"],
        iodepths=io_depths,
        size=size_string))

  return file_string


def JobFileString(fio_jobfile, disk, against_device,

After Change


  job_file_template = jinja2.Template(JOB_FILE_TEMPLATE,
                                      undefined=jinja2.StrictUndefined)

  return str(job_file_template.render(
      filename=filename,
      size=size_string,
      scenarios=scenarios,
      iodepths=io_depths))


def GetOrGenerateJobFileString(fio_jobfile, disk, against_device,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: bd120f0c54cbde5ad23a061d9fdebacbbd45954f
Time: 2015-09-04
Author: nlavine@google.com
File Name: perfkitbenchmarker/benchmarks/fio_benchmark.py
Class Name:
Method Name: GenerateJobFileString


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: bd120f0c54cbde5ad23a061d9fdebacbbd45954f
Time: 2015-09-04
Author: nlavine@google.com
File Name: perfkitbenchmarker/benchmarks/fio_benchmark.py
Class Name:
Method Name: GenerateJobFileString


Project Name: jazzband/django-debug-toolbar
Commit Name: d85509edab8290666d056ba5f0a9423feceb64d5
Time: 2008-09-07
Author: rob@cogit8.org
File Name: debug_toolbar/panels/sql.py
Class Name: SQLDebugPanel
Method Name: content


Project Name: deepdrive/deepdrive
Commit Name: b5ba6d4ad61721b789d189bf2e91c50e8fd0428d
Time: 2018-07-16
Author: cquiter@gmail.com
File Name: gym_deepdrive/envs/deepdrive_gym_env.py
Class Name: DeepDriveEnv
Method Name: render