harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu" <wuyue...@gmail.com>
Subject Re: [classlib][icu] there is performance degradation after ICU-related commits
Date Thu, 15 Nov 2007 07:55:44 GMT
Well, it is ICU's implementation. It returns OlsonTimeZone for those
predefined zones, like "Europe/London" in my test, and returns
SimpleTimeZone for custimized zones. I think it is resonable since
only the predefined timezone need to query the data in CLDR.

If we delegate our impl to SimpleTimeZone directly, we will never get
the correct data for these predefined zones, does it make sense?

On 11/15/07, Aleksey Shipilev <aleksey.shipilev@gmail.com> wrote:
> Hi, Tony!
> > I've reported it to icu bug tracker,
> > http://bugs.icu-project.org/trac/ticket/6027
> Thanks for forwarding it. BTW, as I see in the microtest for that
> issue com.ibm.icu.util.SimpleTimeZone performs well.
> So, why not to use com.ibm.icu.util.*SimpleTimeZone* instead of
> com.ibm.icu.util.TimeZone in our java.util.SimpleTimeZone
> implementation?
> This will eliminate the problematic call and solve part of the
> performance problems mentioned in HARMONY-5122 [1].
> [1] http://issues.apache.org/jira/browse/HARMONY-5122
> Thanks,
> Aleksey.

Tony Wu
China Software Development Lab, IBM

View raw message