1b20c943554d3c2d35ddba09afe4cd1c6edb2ed7,perfkitbenchmarker/providers/gcp/gcp_dpb_dataproc.py,GcpDpbDataproc,SubmitJob,#GcpDpbDataproc#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,187

Before Change


      return {dpb_service.SUCCESS: False}

    stats = self._GetStats(stdout)
    stats[dpb_service.SUCCESS] = True
    return stats

  def SetClusterProperty(self):

After Change


      if state["state"] == "PENDING":
        pending_time = GcpDpbDataproc._ParseTime(state["stateStartTime"])
      elif state["state"] == "RUNNING":
        start_time = GcpDpbDataproc._ParseTime(state["stateStartTime"])

    assert pending_time and start_time and done_time

    return dpb_service.JobResult(
        run_time=(done_time - start_time).total_seconds(),
        pending_time=(start_time - pending_time).total_seconds())

  def SetClusterProperty(self):
    pass
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 1b20c943554d3c2d35ddba09afe4cd1c6edb2ed7
Time: 2020-10-13
Author: pclay@google.com
File Name: perfkitbenchmarker/providers/gcp/gcp_dpb_dataproc.py
Class Name: GcpDpbDataproc
Method Name: SubmitJob


Project Name: nilmtk/nilmtk
Commit Name: 33b6e61a10e3f65d651e42a43e1809b293ec6571
Time: 2014-01-16
Author: jack-list@xlk.org.uk
File Name: nilmtk/dataset/dataset.py
Class Name: DataSet
Method Name: descriptive_stats


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1bb2bf28d8d3f815439f7d7406744378b5cb56d9
Time: 2017-11-20
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx_adv.py
Class Name:
Method Name: