[jboss-jira] [JBoss JIRA] (JBRULES-3394) Benchmarker: MatrixAxis to configure a matrix of benchmarks easily

Lukáš Petrovický (JIRA) jira-events at lists.jboss.org
Fri May 18 04:58:18 EDT 2012


    [ https://issues.jboss.org/browse/JBRULES-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693903#comment-12693903 ] 

Lukáš Petrovický commented on JBRULES-3394:
-------------------------------------------

In the end, I decided to go a different route - I am providing a way to configure your benchmark from a Freemarker template. That way, the user has the ultimate control over what gets generated.
                
> Benchmarker: MatrixAxis to configure a matrix of benchmarks easily
> ------------------------------------------------------------------
>
>                 Key: JBRULES-3394
>                 URL: https://issues.jboss.org/browse/JBRULES-3394
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: drools-planner
>            Reporter: Geoffrey De Smet
>            Assignee: Lukáš Petrovický
>
> Each property would get a MatrixAxis alternative:
> {code}
> <acceptor>
>  <propertyTabuMatrixAxis>
>   <value>5</>
>   <value>7</>
>   <value>11</>
>  </>
>  <moveTabuMatrixAxis>
>   <value>5</>
>   <value>7</>
>   <value>11</>
>   <value>13</>
>  </>
> </>
> {code}
> In the case above we would have 3 * 4 = 12 benchmarks, would could result in saying that propertyTabu 5 + moveTabu 13 is best but that propertyTabu 7 + moveTabu 11 is the runner up.
> Technical problem: Don't want to litter AcceptorConfig with private MatrixAxis<int> propertyTabuMatrixAxis because non benchmark configs should not use it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list