Commit 211686c4 authored by Noric Couderc's avatar Noric Couderc

Fixed code for running benchmarks from traces

parent 7ebee68e
......@@ -41,14 +41,17 @@ public class SyntheticBenchmarkRunner {
// We need to group applications by seed.
// (We are comparing applications with the same seed!)
Map<Long, List<BCBenchmarkPackage>> appsBySeed =
applications.stream().collect(
Collectors.groupingBy(BCBenchmarkPackage::getSeed)
);
for (Long seed : appsBySeed.keySet()) {
Map<String, List<BCBenchmarkPackage>> appsById =
new TreeMap<>(
applications.stream().collect(
Collectors.groupingBy(
x -> x.getPlanIdentifier()
)
));
for (String id : appsById.keySet()) {
// We get the list of applications to compare
List<BCBenchmarkPackage> toCompare = appsBySeed.get(seed);
List<BCBenchmarkPackage> toCompare = appsById.get(id);
// PRECONDITION:
// Only similar things should be compared, hence
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment