private final Result createResult() {
        // 8 sets, 8 gets
        Result result=new Result(new Query("?query=test&hits=10&presentation.bolding=true&model.type=all"));
        addHits(5,"firstTopLevel",result.hits());
        result.hits().add(addHits(10, "group1hit", new HitGroup()));
        addHits(5, "secondTopLevel", result.hits());
        result.hits().add(addHits(10, "group2hit", new HitGroup()));
        result.hits().add(addHits(10, "group3hit", new HitGroup()));
        return result;
    }
Tests the speed of accessing hits in the query by id

@author bratseth
container-search/src/test/java/com/yahoo/search/test/ResultBenchmark.java