[ https://issues.apache.org/jira/browse/LUCENE-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741564#action_12741564 ]
Robert Muir commented on LUCENE-1796: ------------------------------------- I just want to say I think that 10% test case might be a worst case: very short documents and no reusableTS. I ran a bunch of iterations on a corpus (regular sized docs though) and found this: Lucene 2.4.1 (CzechAnalyzer, does not implement reusableTS) avg 48290.4ms HEAD+LUCENE-1796 (CzechAnalyzer, does not implement reusableTS) avg 49943.8ms <-- a bit slower HEAD+LUCENE-1796+LUCENE-1794 (CzechAnalyzer, implements reusableTS) avg 47846.1ms <-- a bit faster So I think reusableTS in Solr combined with this patch can mitigate any remaining construction overhead, and maybe be faster overall compared to the last release. > Speed up repeated TokenStream init > ---------------------------------- > > Key: LUCENE-1796 > URL: https://issues.apache.org/jira/browse/LUCENE-1796 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Mark Miller > Assignee: Uwe Schindler > Fix For: 2.9 > > Attachments: after.png, afterAndLucene1796.png, before.png, > LUCENE-1796.patch, LUCENE-1796.patch, LUCENE-1796.patch, LUCENE-1796.patch, > LUCENE-1796.patch > > > by caching isMethodOverridden results -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org