lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Commented: (LUCENE-1796) Speed up repeated TokenStream init
Date Mon, 10 Aug 2009 16:26:14 GMT


Robert Muir commented on LUCENE-1796:

Uwe, your patch seems to help my large doc case, although as you can see, the numbers are
still very different if i implement reusableTS() than if i do not.

With patch (reusableTS)
Total time:43373
Total time:43428
Total time:43536
Total time:42857
Total time:42835

Without patch (reusableTS)
Total time:44613
Total time:45720
Total time:45592
Total time:45445
Total time:45090

Also, with your patch the org.apache.lucene.util.AttributeSource.getAttributeImplsIterator
from clearAttributes() is ranked 8 instead of 1 or 2 in profiling.

> Speed up repeated TokenStream init
> ----------------------------------
>                 Key: LUCENE-1796
>                 URL:
>             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:
For additional commands, e-mail:

View raw message