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

ai.timefold.solver.benchmark.quarkus.config.TimefoldBenchmarkRuntimeConfig 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.config;

import ai.timefold.solver.quarkus.config.TerminationRuntimeConfig;

import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
import io.smallrye.config.ConfigMapping;
import io.smallrye.config.WithDefault;
import io.smallrye.config.WithName;

@ConfigMapping(prefix = "quarkus.timefold.benchmark")
@ConfigRoot(phase = ConfigPhase.RUN_TIME)
public interface TimefoldBenchmarkRuntimeConfig {
    String DEFAULT_BENCHMARK_RESULT_DIRECTORY = "target/benchmarks";

    /**
     * Where the benchmark results are written to. Defaults to
     * {@link #DEFAULT_BENCHMARK_RESULT_DIRECTORY}.
     */
    @WithDefault(DEFAULT_BENCHMARK_RESULT_DIRECTORY)
    String resultDirectory();

    /**
     * Termination configuration for the solvers run in the benchmark.
     */
    @WithName("solver.termination")
    TerminationRuntimeConfig termination();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy