<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>simplericity - performance tag</title>
  <link>http://simplericity.com/tags/performance/</link>
  <description>Reducing software entropy</description>
  <language>en</language>
  <copyright>Eirik Bjørsnøs</copyright>
  <lastBuildDate>Fri, 02 Jan 2009 11:02:56 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Lucene gets a performance boost</title>
    <link>http://simplericity.com/2008/02/15/1203030013411.html</link>
    
      
        <description>
          &lt;p&gt;Following &lt;a href=&#034;http://lucene.apache.org/#24+January+2008+-+Lucene+Java+2.3.0+available&#034;&gt;the release of Lucene 2.3.0&lt;/a&gt; on January 24th,  I decided to upgrade an application I&#039;m developing. The &lt;a href=&#034;http://svn.apache.org/repos/asf/lucene/java/tags/lucene_2_3_0/CHANGES.txt&#034;&gt;change log&lt;/a&gt; promised several improvements in indexing performance.
&lt;/p&gt;

&lt;p&gt;
My application uses Lucene to index moderately complex information about events. Testing the application with Lucene 2.2.0 I found that a full reindex of 80.000 events stabilized on 164 seconds after a few rounds to make sure the JVM and caches were warmed up.  
&lt;/p&gt;

&lt;p&gt;
After upgrading to 2.3.0 and switching IndexWriter.setMaxBufferedDocs() to the new IndexWriter.setRAMBufferSizeMB() I started a reindex again to measure the difference. 
&lt;/p&gt;

&lt;p&gt;
So how long did it take to reindex 80.000 events in Lucene 2.3.0? 
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;35 seconds&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
 That&#039;s &lt;i&gt;470 percent faster!&lt;/i&gt;
&lt;/p&gt;

&lt;p&gt;
So thanks to the Lucene team for the great work with this release. These guys continue to impress me.
&lt;/p&gt;

        </description>
      
      
    
    
    
    <category>Java</category>
    
    <comments>http://simplericity.com/2008/02/15/1203030013411.html#comments</comments>
    <guid isPermaLink="true">http://simplericity.com/2008/02/15/1203030013411.html</guid>
    <pubDate>Thu, 14 Feb 2008 23:00:13 GMT</pubDate>
  </item>
  
  </channel>
</rss>
