983aedb23057629605c8a7c8d9757945651d48f5,perfkitbenchmarker/packages/fio.py,,ParseJobFile,#Any#,59

Before Change


      sections[section] = dict(sections[section])
      sections[section].update(global_metadata)
    del sections[section]["__name__"]
  return dict(sections)


def FioParametersToJob(fio_parameters):
  Translate fio parameters into a job config file.

After Change


      metadata = {}
      metadata.update(dict(config.items(section)))
      metadata.update(global_metadata)
      if JOB_STONEWALL_PARAMETER in metadata:
        del metadata[JOB_STONEWALL_PARAMETER]
      section_metadata[section] = metadata
  return section_metadata

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 983aedb23057629605c8a7c8d9757945651d48f5
Time: 2015-03-27
Author: yuyantingzero@gmail.com
File Name: perfkitbenchmarker/packages/fio.py
Class Name:
Method Name: ParseJobFile


Project Name: quiltdata/quilt
Commit Name: 471cfac491d5766a0ac3e20bfe2c8c486ba12cc6
Time: 2017-05-15
Author: dima@gmail.com
File Name: quilt/tools/core.py
Class Name: RootNode
Method Name: __json__


Project Name: quiltdata/quilt
Commit Name: f49819a1208c70e25e84a5302132cb6f34eb4fa1
Time: 2017-05-08
Author: dima@gmail.com
File Name: quilt_server/core.py
Class Name: RootNode
Method Name: __json__