def PerformFannedUpload(self, need_to_slice, file_names, object_names,
                          use_file):
    args = []
    for i in range(len(file_names)):
      args.append(FanUploadTuple(
          need_to_slice, file_names[i], object_names[i], use_file))
    self.Apply(_UploadObject, args, _PerfdiagExceptionHandler,
               ('total_requests', 'request_errors'),
               arg_checker=DummyArgChecker, parallel_operations_override=True,
               process_count=self.processes, thread_count=self.threads)
Performs a parallel upload of multiple files using the fan strategy.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/commands/perfdiag.py/PerfDiagCommand.PerformFannedUpload