Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-2341

optaplanner-quarkus-benchmark module and optaplanner-benchmark support in spring starter

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • 2021 Week 16-18 (from Apr 19), 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31)
    • 3
    • Undefined
    • NEW
    • NEW

      This is boilerplate code that the quarkus plugin should do for us in the benchmark config:

      <?xml version="1.0" encoding="UTF-8"?>
      <plannerBenchmark xmlns="https://www.optaplanner.org/xsd/benchmark" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        xsi:schemaLocation="https://www.optaplanner.org/xsd/benchmark https://www.optaplanner.org/xsd/benchmark/benchmark.xsd">
      
        <inheritedSolverBenchmark>
          <solver>
            <solutionClass>org.acme.vaccinationscheduler.domain.VaccinationSchedule</solutionClass>
            <entityClass>org.acme.vaccinationscheduler.domain.Person</entityClass>
            <scoreDirectorFactory>
              <constraintProviderClass>org.acme.vaccinationscheduler.solver.VaccinationScheduleConstraintProvider</constraintProviderClass>
            </scoreDirectorFactory>
          </solver>
        </inheritedSolverBenchmark>
      

      In optaplanner-benchmark we also need a way to build a benchmark config from a solverConfig merged and overwritten by a benchmark config file.

      • Same logic for the spring starter.
      • Quickstarts should show how to do benchmarking

              cchianel Christopher Chianelli (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: