You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2009/08/10 18:00:15 UTC

[jira] Issue Comment Edited: (LUCENE-1796) Speed up repeated TokenStream init

    [ https://issues.apache.org/jira/browse/LUCENE-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741393#action_12741393 ] 

Mark Miller edited comment on LUCENE-1796 at 8/10/09 8:59 AM:
--------------------------------------------------------------

Test on the first patch:

Almost brings things back to par with Yoniks short solr indexing test (previous results were like 90 some seconds):


Before TokenStream revamp:
iter=100000 time=44173 throughput=2263
iter=100000 time=44403 throughput=2252

After TokenStream revamp:
iter=100000 time=46720 throughput=2140
iter=100000 time=47038 throughput=2125


That method inspection was like the second hotest method (see the profiling results), and this must just take it right out of there.

By the way, I havn't looked if it slows down the single use case at all or not.

      was (Author: markrmiller@gmail.com):
    Test on the first patch:

Almost brings things back to par with Yoniks short solr indexing test (previous results were like 90 some seconds):


Before TokenStream revamp:
iter=100000 time=44173 throughput=2263
iter=100000 time=44403 throughput=2252

After TokenStream revamp:
iter=100000 time=46720 throughput=2140
iter=100000 time=47038 throughput=2125


That method inspection was like the second hotest method (see the profiling results), and this must just take it right out of there.
  
> 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: 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org