8992f42efcb68c363270ba8b6f679b608060b848,benchmark/memory_benchmark.py,,Main,#Any#Any#Any#Any#Any#,77

Before Change


              libaryId = libaryId[0][0] if libaryId else db.NewLibrary(name + "_memory")

              if update:
                buildId = db.GetLatestBuildFromLibary(libaryId)
                if buildId >= 0:
                  build[name] = (buildId, libaryId)
                else:
                  Log.Warn("Nothing to update.")

After Change


              libaryId = libaryId[0][0] if libaryId else db.NewLibrary(name + "_memory")

              if update:
                buildId = db.GetLatestBuildFromLibary(libaryId)[0][0]
                if buildId >= 0:
                  build[name] = (buildId, libaryId)
                else:
                  Log.Warn("Nothing to update.")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: mlpack/benchmarks
Commit Name: 8992f42efcb68c363270ba8b6f679b608060b848
Time: 2016-06-16
Author: marcos.pividori@gmail.com
File Name: benchmark/memory_benchmark.py
Class Name:
Method Name: Main


Project Name: mlpack/benchmarks
Commit Name: 8992f42efcb68c363270ba8b6f679b608060b848
Time: 2016-06-16
Author: marcos.pividori@gmail.com
File Name: benchmark/make_reports.py
Class Name:
Method Name: MethodReports


Project Name: mlpack/benchmarks
Commit Name: b57782e1fe4b8af2884713586cddcf47914b5946
Time: 2015-04-09
Author: marcus.edel@fu-berlin.de
File Name: benchmark/run_benchmark.py
Class Name:
Method Name: Main