String version = builds.getString(1);
if ("1.7".equals(version) && performanceResults.getTestTime() <= ignoreV17Before) {
// Ignore some broken samples
continue;
}
MeasuredOperation operation = new MeasuredOperation();
operation.setExecutionTime(Duration.millis(builds.getBigDecimal(2)));
operation.setTotalMemoryUsed(DataAmount.bytes(builds.getBigDecimal(3)));
operation.setTotalHeapUsage(DataAmount.bytes(builds.getBigDecimal(4)));
operation.setMaxHeapUsage(DataAmount.bytes(builds.getBigDecimal(5)));
operation.setMaxUncollectedHeap(DataAmount.bytes(builds.getBigDecimal(6)));
operation.setMaxCommittedHeap(DataAmount.bytes(builds.getBigDecimal(7)));
if (version == null) {
performanceResults.getCurrent().add(operation);
} else {
BaselineVersion baselineVersion = performanceResults.baseline(version);