xtim
Thursday, July 01, 2004
 
This may be futile, but I'm going to try it: 24% of our time is going in BooleanScorer.next(). Can we speed that up?

T

Description of CPU usage for thread Thread-16
100.0% - 27646 ms - java.lang.Thread.run()
100.0% - 27646 ms - org.apache.jserv.JServConnection.run()
99.98% - 27641 ms - org.apache.jserv.JServConnection.processRequest()
99.9% - 27621 ms - javax.servlet.http.HttpServlet.service()
99.9% - 27621 ms - org.gjt.jsp.JspServlet.service()
99.9% - 27621 ms - org.gjt.jsp.JspServlet$Page.process()
98.6% - 27261 ms - javax.servlet.http.HttpServlet.service()
98.6% - 27261 ms - org.gjt.jsp.HttpJspPageImpl.service()
98.6% - 27261 ms - jsp__results_2ejsp._jspService()
97.31% - 26903 ms - xreferclient.impl.direct.DirectQueryToolResource.search()
96.29% - 26623 ms - xreferclient.impl.direct.DirectQueryToolResource.search()
91.59% - 25321 ms - com.xrefer.lucene.DirectSearcher.search()
91.15% - 25201 ms - org.apache.lucene.search.Searcher.search()
91.15% - 25201 ms - org.apache.lucene.search.Searcher.search()
91.15% - 25201 ms - org.apache.lucene.search.Hits.()
91.15% - 25201 ms - org.apache.lucene.search.Hits.getMoreDocs()
91.15% - 25201 ms - org.apache.lucene.search.IndexSearcher.search()
88.0% - 24331 ms - org.apache.lucene.search.Scorer.score()
82.01% - 22675 ms - org.apache.lucene.search.BooleanScorer.next()
36.63% - 10129 ms - org.apache.lucene.search.BooleanScorer.next()
13.78% - 3812 ms - org.apache.lucene.search.TermScorer.next()
10.95% - 3029 ms - org.apache.lucene.index.SegmentTermDocs.read()
3.63% - 1006 ms - org.apache.lucene.store.InputStream.readVInt()
1.81% - 502 ms - org.apache.lucene.store.InputStream.readByte()
0.43% - 119 ms - org.apache.lucene.store.InputStream.refill()
0.29% - 82 ms - org.apache.lucene.index.CompoundFileReader$CSInputStream.readInternal()
0.22% - 62 ms - org.apache.lucene.store.InputStream.readBytes()
0.22% - 62 ms - it.unige.csita.lucene.ROInputStream.readInternal()
0.14% - 40 ms - java.io.RandomAccessFile.read()
0.07% - 21 ms - java.io.RandomAccessFile.readBytes()
7.35% - 2033 ms - org.apache.lucene.search.BooleanScorer$Collector.collect()
3.83% - 1059 ms - org.apache.lucene.search.TermScorer.score()
13.25% - 3665 ms - org.apache.lucene.search.TermScorer.next()
10.09% - 2790 ms - org.apache.lucene.search.BooleanScorer$Collector.collect()
4.86% - 1346 ms - org.apache.lucene.search.TermScorer.score()
2.7% - 747 ms - org.apache.lucene.search.BooleanScorer.score()
1.51% - 418 ms - org.apache.lucene.search.BooleanScorer.doc()
5.99% - 1656 ms - org.apache.lucene.search.IndexSearcher$1.collect()
1.95% - 540 ms - org.apache.lucene.search.BooleanQuery$BooleanWeight.scorer()
1.19% - 330 ms - org.apache.lucene.search.Query.weight()
0.21% - 60 ms - com.xrefer.lucene.DirectSearcher.createVolQuery()
0.14% - 40 ms - com.xrefer.lucene.MetaQueryFactory.assembleQuery()
0.07% - 20 ms - com.xrefer.lucene.QueryFactory.assembleQuery()
4.7% - 1302 ms - com.xrefer.lucene.DirectSearcher.getResultBlock()
0.93% - 259 ms - xreferclient.impl.direct.ContentDAO.getVolSpecByShelf()
0.07% - 21 ms - xreferclient.impl.direct.DirectQueryToolResource.tokenToMemberId()
0.79% - 220 ms - xreferclient.impl.direct.DirectQueryToolResource.getAllSubjects()
0.21% - 60 ms - org.gjt.jsp.JspWriterImpl.close()
0.07% - 21 ms - java.lang.String.toLowerCase()
0.07% - 20 ms - java.lang.StringBuffer.append()
0.06% - 19 ms - java.lang.StringBuffer.toString()
0.06% - 18 ms - java.lang.StringBuffer.()
1.23% - 341 ms - org.gjt.jsp.JspServlet$Page.needToRecompile()
0.06% - 19 ms - org.apache.jserv.JServConnection.getParameter()
0.01% - 5 ms - org.apache.jserv.JServConnection.readData()
Comments: Post a Comment

<< Home

Powered by Blogger