All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.timefold.solver.benchmark.quarkus.TimefoldBenchmarkBeanProvider Maven / Gradle / Ivy

Go to download

Benchmark an Timefold project to power tweak the solver configuration for speed and scalability.

There is a newer version: 1.14.0
Show newest version
package ai.timefold.solver.benchmark.quarkus;

import jakarta.enterprise.inject.Produces;
import jakarta.inject.Singleton;

import ai.timefold.solver.benchmark.api.PlannerBenchmarkFactory;
import ai.timefold.solver.benchmark.config.PlannerBenchmarkConfig;

import io.quarkus.arc.DefaultBean;

public class TimefoldBenchmarkBeanProvider {

    @DefaultBean
    @Singleton
    @Produces
    PlannerBenchmarkFactory benchmarkFactory(PlannerBenchmarkConfig plannerBenchmarkConfig) {
        return PlannerBenchmarkFactory.create(plannerBenchmarkConfig);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy