Hi, thanks Nick, filed as https://issues.apache.org/jira/browse/TIKA-495

:)

----- Original Message -----
From: "Nick Burch" <[email protected]>
To: [email protected]
Sent: Tuesday, August 24, 2010 1:10:27 AM (GMT+0930) Auto-Detected
Subject: Re: Metadata creation significant slowdown

On Wed, 18 Aug 2010, Radek Czyz wrote:
> Parsing all those SimpleDateFormat strings takes a *long* time. 
> getTimeZone and setTimeZone also show up on profile.
>
> From a quick glance, it seems like all DateFormat creation could be 
> static, or otherwise created up front. Is this correct?

It can't be static, as they're not thread safe :(

Could well be done as a thread local, so it need only happen once for most 
cases. Could you create a new entry in Jira for this?

Nick

Reply via email to