[jira] [Commented] (MATH-974) Move "PerfTestUtils" to "src/main" repository

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (MATH-974) Move "PerfTestUtils" to "src/main" repository

AD_LB (Jira)

    [ https://issues.apache.org/jira/browse/MATH-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13657625#comment-13657625 ]

Gilles commented on MATH-974:

If you refuse that it be moved, then what is the alternative for users to depend on this class in order to perform their own benchmarks so that they can decide whether it's worth using Commons Math code instead of another implementation?

Would it be any better to distribute a second artefact with all the test classes?

Strictly, that code also has no place in the unit tests repository.
It could become part of a toolbox used by "indirect" contributors, i.e. people who do not want to download the CM source code but could point to performance weaknesses.
But is it worth creating a new component for that at this point? I think not.

See also at the end of this [old post|http://markmail.org/message/kn2cwlxjpsm6i4af].


> Move "PerfTestUtils" to "src/main" repository
> ---------------------------------------------
>                 Key: MATH-974
>                 URL: https://issues.apache.org/jira/browse/MATH-974
>             Project: Commons Math
>          Issue Type: Wish
>    Affects Versions: 3.2
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Trivial
>              Labels: benchmark, test
>             Fix For: 4.0
> The class "org.apache.commons.math3.PerfTestUtils" is in the "src/test" part of the code repository.
> It was intended to perform micro-benchmarks and compare alternative implementations. However its location makes it difficult to use by users that rely on automatic dependency resolution.
> Having it more visible will hopefully lead to useful suggestions for improving the benchmarking methodology.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira