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%
 Wildcard (custom)Bigrams (custom)%difference
Cpu (total)342332036229156-81.8%