ceaad6e3750b463015890a36e13ec6e11f6ee005,perfkitbenchmarker/benchmarks/fio_benchmark.py,,GetOrGenerateJobFileString,#Any#Any#Any#Any#Any#Any#,275
Before Change
remove_filename)
else:
if "all" in scenario_strings:
scenarios = SCENARIOS.itervalues()
else:
for name in scenario_strings:
if name not in SCENARIOS:
logging.error("Unknown scenario name %s", name)
scenarios = (SCENARIOS[name] for name in scenario_strings)
return GenerateJobFileString(filename, scenarios,
io_depths, working_set_size)
After Change
use_user_jobfile = job_file_path or not scenario_strings
if use_user_jobfile:
remove_filename = against_device
return ProcessedJobFileString(job_file_path or data.ResourcePath("fio.job"),
remove_filename)
else:
if against_device:
filename = disk.GetDevicePath()
else:
// Since we pass --directory to fio, we must use relative file
// paths or get an error.
filename = DEFAULT_TEMP_FILE_NAME
return GenerateJobFileString(filename, scenario_strings,
io_depths, working_set_size)
def WarnOnBadFlags():
Warn the user if they pass bad flag combinations.
if FLAGS.fio_jobfile:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: ceaad6e3750b463015890a36e13ec6e11f6ee005
Time: 2015-09-30
Author: nlavine@google.com
File Name: perfkitbenchmarker/benchmarks/fio_benchmark.py
Class Name:
Method Name: GetOrGenerateJobFileString
Project Name: tensorflow/transform
Commit Name: 97507c4871dff5fb5e4bd33d2f5cf3f8bd3aceba
Time: 2020-09-01
Author: varshaan@google.com
File Name: tensorflow_transform/output_wrapper.py
Class Name: TFTransformOutput
Method Name: transform_raw_features
Project Name: polyaxon/polyaxon
Commit Name: df2089b7132ced1f1c5322b338f686840f947438
Time: 2018-04-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon_schemas/utils.py
Class Name:
Method Name: pvalues