Friday, January 30, 2004
Profiling doesn't reveal anything too nasty apart from the hit from highlighting dtable contents after a search. Reckon we can improve that, and with the new release coming up on Tuesday I'd like to get the changes in today.
So, perform a search for "china", select the "exports - partners" link on the result list then count object creation for a page refresh.
Currently:
Class name Instance count Difference
-------------------------------------------------------------------- -------------- ----------
java.util.LinkedList$Entry 35710 + 35565
char[] 94294 + 34793
java.lang.String 114254 + 24420
java.util.LinkedList$ListItr 20612 + 20612
Object[] 22384 + 19987
java.util.LinkedList 17265 + 17262
int[] 16816 + 16151
java.lang.StringBuffer 13659 + 13631
org.apache.lucene.analysis.standard.Token 6012 + 6012
org.apache.lucene.analysis.Token 5320 + 5320
short[] 5838 + 5066
java.io.IOException 5045 + 5045
java.util.Vector 4857 + 4722
com.xrefer.lucene.entitytokenizer.Token 4651 + 4651
java.io.StringReader 2673 + 2673
org.apache.lucene.analysis.standard.StandardFilter 2672 + 2672
org.apache.lucene.analysis.LowerCaseFilter 2672 + 2672
com.xrefer.lucene.LoggingFilter 2672 + 2672
org.apache.lucene.search.BooleanClause 2705 + 2672
com.xrefer.parser.util.EntityLegacyReplacer 2005 + 2005
com.xrefer.parser.util.EntityLegacyReader 2005 + 2005
com.xrefer.parser.util.EntityUnicodeHashMapReplacer 2004 + 2004
org.apache.lucene.search.TermQuery 2032 + 2004
org.apache.lucene.analysis.standard.FastCharStream 2004 + 2004
org.apache.lucene.analysis.standard.StandardTokenizerTokenManager 2004 + 2004
org.apache.lucene.analysis.standard.StandardTokenizer 2004 + 2004
com.xrefer.parser.util.EntityIndexingReader 2004 + 2004
org.apache.lucene.index.Term 3563 + 2004
byte[] 2436 + 1803
java.util.regex.Pattern$Slice 1338 + 1338
java.util.regex.Pattern 1337 + 1337
java.util.regex.Matcher 1337 + 1337
org.apache.lucene.search.BooleanQuery 1342 + 1336
java.util.regex.Pattern$BnM 1335 + 1335
java.nio.HeapCharBuffer 1139 + 1139
T