harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "deven you (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6241) java.text.SimpleDateFormat.SimpleDateFormat(String, Locale) performance can be improved
Date Thu, 25 Jun 2009 07:23:07 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

deven you updated HARMONY-6241:
-------------------------------

    Attachment: TestSimpleDateFormat_constructor_LString_Locale.java
                SimpleDateFormat-performance-patch_v4.diff

Hi, 
Since I first made this patch on hy 6 branch, there is a issue on the first patch I gave.
I have corrected it and put this new one,  a test case is put together.
>From the result of this test case, we can see the SimpleDateFormat.SimpleDateFormat(String,
Locale) performance is great improved.
the result:
total time of SimpleDateFormat.SimpleDateFormat(String, Locale) 
before this patch: 2765 ms
after this patch:     969 ms.

> java.text.SimpleDateFormat.SimpleDateFormat(String, Locale) performance can be improved
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6241
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6241
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>    Affects Versions: 5.0M10
>            Reporter: deven you
>            Assignee: Tim Ellison
>             Fix For: 5.0M11
>
>         Attachments: SimpleDateFormat-performance-patch.diff, SimpleDateFormat-performance-patch_v4.diff,
TestSimpleDateFormat_constructor_LString_Locale.java
>
>
> SimpleDateFormat.SimpleDateFormat(String, Locale) create lots of  redundant formatSymbols.
I have write a change to remove these formatSymbols to improve its performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message