I did run the bench marking successfully without aggregator, and I did run the aggregator alone.
Can I run the bench marking and obtain the aggregator gui simultaneously?
I did run the bench marking successfully without aggregator, and I did run the aggregator alone.
Can I run the bench marking and obtain the aggregator gui simultaneously?
Yes, it's possible, just write a main()
that does both in sequence:
PlannerBenchmarkFactory plannerBenchmarkFactory = PlannerBenchmarkFactory.createFromXmlResource(
"org/optaplanner/examples/nqueens/benchmark/nqueensBenchmarkConfig.xml");
PlannerBenchmark plannerBenchmark = benchmarkFactory.buildPlannerBenchmark();
plannerBenchmark.benchmark();
PlannerBenchmarkFactory plannerBenchmarkFactory2 = PlannerBenchmarkFactory.createFromXmlResource(
"org/optaplanner/examples/nqueens/benchmark/nqueensBenchmarkConfig.xml");
BenchmarkAggregatorFrame.createAndDisplay(plannerBenchmarkFactory2);