4e5f33e5404e4b67bc44c79cd1d176b8285a6c2b,perfkitbenchmarker/linux_benchmarks/openfoam_benchmark.py,,_AsSeconds,#Any#,119

Before Change


  Returns:
    A float representing the time in seconds.
  
  parsed = time.strptime(input_time, "%Mm%S.%fs")
  return datetime.timedelta(minutes=parsed.tm_min,
                            seconds=parsed.tm_sec).total_seconds()


def _GetSample(line):
  Parse a single output line into a performance sample.

After Change


  assert match, "Time "{}" does not match format "{}"".format(input_time,
                                                              _TIME_RE.pattern)
  minutes, seconds = match.group(1, 2)
  return int(minutes) * 60 + int(seconds)


def _GetSample(line):
  Parse a single output line into a performance sample.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 4e5f33e5404e4b67bc44c79cd1d176b8285a6c2b
Time: 2019-11-07
Author: liubrandon@google.com
File Name: perfkitbenchmarker/linux_benchmarks/openfoam_benchmark.py
Class Name:
Method Name: _AsSeconds


Project Name: nilmtk/nilmtk
Commit Name: 41a57942968c89762733f0ffdb2b918b6be79c6b
Time: 2014-01-14
Author: jack-list@xlk.org.uk
File Name: nilmtk/dataset/hes.py
Class Name:
Method Name: datetime_converter


Project Name: okfn-brasil/serenata-de-amor
Commit Name: cf66950a64bc146e4cefc40975771302a30a0cb4
Time: 2017-10-22
Author: cuducos@users.noreply.github.com
File Name: jarbas/core/fields.py
Class Name: DateField
Method Name: deserialize