32dd1ac4e1d44382f481d0e4e22a81cbb5a66510,perfkitbenchmarker/benchmarks/fio_benchmark.py,,WriteJobFile,#Any#,109
Before Change
else:
filename = os.path.join(mount_point, "fio-temp-file")
size = "100G"
return (GLOBALS_TEMPLATE.format(filename=filename, size=size) +
"\n".join((SINGLE_JOB_TEMPLATE.format(rwkind="randread",
iodepth=str(i))
for i in GetIODepths(FLAGS.io_depths))) +
"\n".join((SINGLE_JOB_TEMPLATE.format(rwkind="randwrite",
iodepth=str(i))
for i in GetIODepths(FLAGS.io_depths))))
After Change
filename = posixpath.join(mount_point, DEFAULT_TEMP_FILE_NAME)
size = "100G"
return jinja2.Template(JOB_FILE_TEMPLATE).render(
filename=filename,
size=size,
iodepths=GetIODepths(FLAGS.io_depths))
def JobFileString(vm):
Get the contents of our job file.
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: WriteJobFile
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: rodluger/starry
Commit Name: 6ce0cc4d818237c431f80adef2196f4549469483
Time: 2021-02-18
Author: rodluger@gmail.com
File Name: tests/greedy/test_load.py
Class Name:
Method Name: test_load_normalization