code: public static PlannerBenchmarkFactory createFromXmlResource(String benchmarkConfigResource, ClassLoader classLoader) {
          return new XStreamXmlPlannerBenchmarkFactory(new SolverConfigContext(classLoader))
                  .configure(benchmarkConfigResource);
      }
docs: 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