optaplanner-benchmark/src/main/java/org/optaplanner/benchmark/api/PlannerBenchmarkFactory.java
public static PlannerBenchmarkFactory createFromXmlResource(String benchmarkConfigResource, ClassLoader classLoader) {
        return new XStreamXmlPlannerBenchmarkFactory(new SolverConfigContext(classLoader))
                .configure(benchmarkConfigResource);
    }
public static PlannerBenchmarkFactory createFromXmlResource(String benchmarkConfigResource, ClassLoader classLoader) {
        return new XStreamXmlPlannerBenchmarkFactory(new SolverConfigContext(classLoader))
                .configure(benchmarkConfigResource);
    }
See {@link #createFromXmlResource(String)}.
@param benchmarkConfigResource never null, a classpath resource
as defined by {@link ClassLoader#getResource(String)}
@param classLoader sometimes null, the {@link ClassLoader} to use for loading all resources and {@link Class}es,
null to use the default {@link ClassLoader}
@return never null