lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenelist2...@danielnaber.de>
Subject Re: svn commit: r424449 - /lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java
Date Sat, 22 Jul 2006 10:53:06 GMT
On Samstag 22 Juli 2006 07:58, Chris Hostetter wrote:

> however i'm not sure if the
> performance benefits of the static instances Daniel mentioned in his
> commit will exist in a multithreaded app (the synchronization costs may
> outway the instantiation costs)

I created a micro benchmark with 2 to 4 threads and the new version was 
faster about a factor of at least 2.

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message