Friday, October 24, 2008

Lucene Customization Performance

Hardware: Athlon 64 X2 Dual 3800; 2GB RAM
Data: Lexicon of 273365 terms







Coarse Response Time (50 iterations on a single substring query)
Query TypeRough System Timing (System.current…)
indexOf query8078
Wildcard query11078
Bigrams Span query2657







HPROF Results (Single terms and phrases)
MetricWildcard (custom)Bigram Spans (custom)%difference
Cpu (total)3423320312130249-64.5%
Heap(total)7634545492707096+21.4%
 Wildcard (custom)Bigrams (custom)%difference
Cpu (total)342332036229156-81.8%
Heap(total)7634545487350103+14%