Commit d7cc1da7 authored by Noric Couderc's avatar Noric Couderc

Fix: Needed to group benchmarks by collection used

Using the target_type of the metadata was wrong
parent 85d93391
......@@ -83,7 +83,7 @@ public class TraceBenchmarkRunner extends SyntheticBenchmarkRunner {
private String getCollectionWithShortestRun(List<TraceBenchmark> benchmarks) {
// Then you group them by the type that was used
Map<String, List<TraceBenchmark>> groupedByCollection =
benchmarks.stream().collect(Collectors.groupingBy(it -> it.metadata.getTarget_type()));
benchmarks.stream().collect(Collectors.groupingBy(it -> it.benchmark.getDataStructureName()));
// Then, you compute for each type the SUM of the average runtimes
// We store them in a treemap for automatic sorting
......
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