public static CompiledQueryProfileRegistry compile(QueryProfileRegistry input) {
        CompiledQueryProfileRegistry output = new CompiledQueryProfileRegistry(input.getTypeRegistry());
        for (QueryProfile inputProfile : input.allComponents())
            output.register(compile(inputProfile, output));
        return output;
    }
Compile a set of query profiles into compiled profiles.

@author bratseth
container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileCompiler.java