58f057c0dd1b28cb388c3fd9538bc67289c4e15e,perfkitbenchmarker/benchmarks/fio_benchmark.py,,GenerateJobFileString,#Any#Any#Any#Any#,130
Before Change
size = device_fill_size
else:
filename = posixpath.join(disk.mount_point, DEFAULT_TEMP_FILE_NAME)
size = str(min(MAX_FILE_SIZE_GB,
int(DISK_USABLE_SPACE_FRACTION * disk.disk_size))) + "G"
return str(jinja2.Template(JOB_FILE_TEMPLATE,
undefined=jinja2.StrictUndefined).render(
filename=filename,
size=size,
iodepths=io_depths))
def JobFileString(fio_jobfile, disk, against_device,
device_fill_size, io_depths):
After Change
file_string = str(globals_template.render(filename=filename))
for scenario in scenarios:
file_string = file_string + str(job_template.render(
name=scenario["name"],
rwkind=scenario["rwkind"],
blocksize=scenario["blocksize"],
iodepths=io_depths))
return file_string
def JobFileString(fio_jobfile, disk, against_device,
scenario_strings, io_depths):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 58f057c0dd1b28cb388c3fd9538bc67289c4e15e
Time: 2015-08-26
Author: nlavine@google.com
File Name: perfkitbenchmarker/benchmarks/fio_benchmark.py
Class Name:
Method Name: GenerateJobFileString
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: WriteJobFile
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