Skip to content

Commit 81e450d

Browse files
committed
Default to averaging for all polybench jobs if no aggregation is specified
1 parent c41484f commit 81e450d

File tree

1 file changed

+2
-1
lines changed
  • truffle/src/org.graalvm.polybench/src/org/graalvm/polybench

1 file changed

+2
-1
lines changed

truffle/src/org.graalvm.polybench/src/org/graalvm/polybench/Config.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ private Summary parseFallbackBenchSpecificSummary(Value benchmark) {
140140
} else if (benchmark.hasMember(AverageSummary.class.getSimpleName())) {
141141
return new AverageSummary();
142142
}
143-
return null;
143+
// defaulting to averaging if the aggregation strategy is not specified
144+
return new AverageSummary();
144145
}
145146

146147
@Override

0 commit comments

Comments
 (0)