Bug 1335084 - Retrieving ACC when daemon mode is used
Summary: Retrieving ACC when daemon mode is used
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: OptaPlanner
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Geoffrey De Smet
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-11 10:24 UTC by Richard Bourner
Modified: 2020-03-27 19:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:13:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker PLANNER-578 0 Major Resolved Output score calculation speed at end of phases too (and rename name it from average calculate count) 2016-05-13 07:27:42 UTC

Description Richard Bourner 2016-05-11 10:24:51 UTC
Description of problem:
When using Planner in daemon mode, the solver doesn't return, even when a termination is set.
For this reason, we cannot get some of the runtime information such as the ACC which is contained in the following log statement:
"Solving ended: time spent ({}), best score ({}), average calculate count per second ({}),"+ " environment mode ({})  even when the solver does not end?"

Since the ACC is useful information, it would be nice to be able to get it, even if the solver doesn't return.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Geoffrey De Smet 2016-05-12 18:33:13 UTC
I've fixed this on master for 7.0, but I've also renamed ACC to "score calculation speed" there (something we can't do in the 6.x series) because of a decision made after a IRC #optaplanner-dev discussion.
  https://github.com/droolsjbpm/optaplanner/commit/7c170573f2add6be67475ba4536f12a8e9428b9a

If we get all acks for 6.x, it's possible to only backport the ACC rendering, but it turns out that it's not simple to do so. Is it worth the effort?

Comment 3 JBoss JIRA Server 2016-05-12 18:34:25 UTC
Geoffrey De Smet <ge0ffrey.spam> updated the status of jira PLANNER-578 to Resolved


Note You need to log in before you can comment on or make changes to this bug.