Java Mailing List Archive

http://www.java2.5341.com/

Home » java-user.lucene »

Benchmarking my indexer

Rafael C. de Almeida

2008-11-01

Replies: Find Java Web Hosting

Author LoginPost Reply
Hello,

I did an indexer that parses some files and indexes them using lucene. I
want to benchmark the whole thing, so I'd like to count the tokens
being indexed so I can calculate the average number of indexed tokens
per second. Is there a way to count the number of tokens on a document?
While I'm at it, I will also need to calculate the amount of memory my
java program used (peak, avg, etc), what java tool would you suggest me
to figure that out?

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@(protected)
For additional commands, e-mail: java-user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.