You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/05/07 22:47:16 UTC

[jira] [Commented] (MATH-740) Some "FastMath" functions are slow

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

Thomas Neidhart commented on MATH-740:
--------------------------------------

fyi: I used jafama at my work (lots of geodetic calculations) and it was quite successful. I do not yet have objective figures, but for example a complex simulation (normally takes ~27 min) could be reduced by 3 min by delegating the math implementation to jafama.
                
> Some "FastMath" functions are slow
> ----------------------------------
>
>                 Key: MATH-740
>                 URL: https://issues.apache.org/jira/browse/MATH-740
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: jafamatests.zip
>
>
> From the two benchmarks we currently have in "FastMathTestPerfomance", we have that the following functions are much slower in "FastMath" than in either "Math" or "StrictMath" (the performance *loss*, for each of the benchmarks, is given in parentheses):
> * log10 (46%, 36%)
> * log1p (68%, 112%)
> * tan (11%, 61%)
> * atan (26%, 125%)
> * atan2 (44%, 40%)

--
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