You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Strigun (JIRA)" <ji...@apache.org> on 2006/06/02 09:11:29 UTC

[jira] Created: (HARMONY-551) [classlib][java.math] performance improvement for java.math package

[classlib][java.math] performance improvement for java.math package
-------------------------------------------------------------------

         Key: HARMONY-551
         URL: http://issues.apache.org/jira/browse/HARMONY-551
     Project: Harmony
        Type: Improvement

  Components: Classlib  
    Reporter: Vladimir Strigun


Performance improvement for BigDecimal and BigInteger classes. 
I will attach patch soon.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (HARMONY-551) [classlib][java.math] performance improvement for java.math package

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-551?page=all ]

Mikhail Loenko reassigned HARMONY-551:
--------------------------------------

    Assign To: Mikhail Loenko

> [classlib][java.math] performance improvement for java.math package
> -------------------------------------------------------------------
>
>          Key: HARMONY-551
>          URL: http://issues.apache.org/jira/browse/HARMONY-551
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Vladimir Strigun
>     Assignee: Mikhail Loenko
>  Attachments: Harmony-551.diffs, mathPerformanceTests.zip
>
> Performance improvement for BigDecimal and BigInteger classes. 
> I will attach patch soon.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (HARMONY-551) [classlib][java.math] performance improvement for java.math package

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-551?page=comments#action_12418237 ] 

Vladimir Strigun commented on HARMONY-551:
------------------------------------------

Mikhail,

Thank you, fix applied as expected, please close the issue.

Thanks,
Vladimir.

> [classlib][java.math] performance improvement for java.math package
> -------------------------------------------------------------------
>
>          Key: HARMONY-551
>          URL: http://issues.apache.org/jira/browse/HARMONY-551
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Vladimir Strigun
>     Assignee: Mikhail Loenko
>  Attachments: Harmony-551.diffs, mathPerformanceTests.zip
>
> Performance improvement for BigDecimal and BigInteger classes. 
> I will attach patch soon.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HARMONY-551) [classlib][java.math] performance improvement for java.math package

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-551?page=all ]

Vladimir Strigun updated HARMONY-551:
-------------------------------------

    Attachment: mathPerformanceTests.zip

Rough micro bench for BigInteger and BigDecimal classes. The suite is intended for comparison of performance between current implemenation of math and fixed one. 

The following methods can be tested for BigInteger:
- add
- divide
- gcd 
- multiply
- pow
- subtract
- toString
for BigDecimal:
- add
- divide
- multiply
- subtract
- negate
- setScale
- toString

Please compile it before use. To run tests, please use MathTests launcher. All test methods will execute for 20 seconds and as a result you will get operation/seconds value. 

> [classlib][java.math] performance improvement for java.math package
> -------------------------------------------------------------------
>
>          Key: HARMONY-551
>          URL: http://issues.apache.org/jira/browse/HARMONY-551
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Vladimir Strigun
>  Attachments: Harmony-551.diffs, mathPerformanceTests.zip
>
> Performance improvement for BigDecimal and BigInteger classes. 
> I will attach patch soon.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (HARMONY-551) [classlib][java.math] performance improvement for java.math package

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-551?page=all ]
     
Mikhail Loenko closed HARMONY-551:
----------------------------------

    Resolution: Fixed

Closed as suggested by Vladimir

> [classlib][java.math] performance improvement for java.math package
> -------------------------------------------------------------------
>
>          Key: HARMONY-551
>          URL: http://issues.apache.org/jira/browse/HARMONY-551
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Vladimir Strigun
>     Assignee: Mikhail Loenko
>  Attachments: Harmony-551.diffs, mathPerformanceTests.zip
>
> Performance improvement for BigDecimal and BigInteger classes. 
> I will attach patch soon.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HARMONY-551) [classlib][java.math] performance improvement for java.math package

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-551?page=all ]

Vladimir Strigun updated HARMONY-551:
-------------------------------------

    Attachment: Harmony-551.diffs

Please try my patch.
Several features were added:
- special handling for small value
- frequently used constans were cached
- several methods were modified and optimized for small value.
etc.

> [classlib][java.math] performance improvement for java.math package
> -------------------------------------------------------------------
>
>          Key: HARMONY-551
>          URL: http://issues.apache.org/jira/browse/HARMONY-551
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Vladimir Strigun
>  Attachments: Harmony-551.diffs
>
> Performance improvement for BigDecimal and BigInteger classes. 
> I will attach patch soon.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira