You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Adrien Grand (Jira)" <ji...@apache.org> on 2019/11/20 14:51:00 UTC

[jira] [Commented] (LUCENE-9056) Simplify BlockImpactsDocsEnum#advance

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

Adrien Grand commented on LUCENE-9056:
--------------------------------------

Here is a run on wikibigall. I'm surprised Prefix3 and Wildcard get the best speedups given that it only removes an increment in BlockDocsEnum#nextDoc, but I'm taking it. :)

{noformat}
                    TaskQPS baseline      StdDev   QPS patch      StdDev                Pct diff
                  IntNRQ      975.14      (3.3%)      968.70      (2.7%)   -0.7% (  -6% -    5%)
        IntervalsOrdered       23.67      (1.5%)       23.60      (1.4%)   -0.3% (  -3% -    2%)
                SpanNear       10.74      (1.7%)       10.71      (2.2%)   -0.3% (  -4% -    3%)
                  Fuzzy2       80.09     (12.5%)       80.37     (12.1%)    0.3% ( -21% -   28%)
                  Fuzzy1      147.40     (14.1%)      148.56     (13.2%)    0.8% ( -23% -   32%)
               OrHighMed       70.77      (2.7%)       71.72      (2.1%)    1.3% (  -3% -    6%)
        AndMedOrHighHigh       29.92      (2.3%)       30.32      (2.5%)    1.3% (  -3% -    6%)
             AndHighHigh       36.51      (3.3%)       37.03      (4.2%)    1.4% (  -5% -    9%)
              AndHighMed       92.78      (2.7%)       94.12      (3.6%)    1.5% (  -4% -    8%)
            SloppyPhrase       19.90      (4.3%)       20.19      (3.9%)    1.5% (  -6% -   10%)
              OrHighHigh       10.15      (3.1%)       10.32      (2.5%)    1.7% (  -3% -    7%)
                    Term     1345.29      (5.2%)     1373.69      (3.9%)    2.1% (  -6% -   11%)
         AndHighOrMedMed       37.48      (2.3%)       38.34      (2.4%)    2.3% (  -2% -    7%)
   HighTermDayOfYearSort       40.85      (5.4%)       41.82      (4.5%)    2.4% (  -7% -   13%)
                  Phrase       66.19      (5.7%)       68.02      (4.6%)    2.8% (  -7% -   13%)
       HighTermMonthSort       66.00     (12.0%)       68.35     (12.9%)    3.6% ( -19% -   32%)
                Wildcard       99.69      (5.3%)      103.99      (4.1%)    4.3% (  -4% -   14%)
                 Prefix3       51.85     (11.0%)       55.76     (10.1%)    7.5% ( -12% -   32%)
 {noformat}

> Simplify BlockImpactsDocsEnum#advance
> -------------------------------------
>
>                 Key: LUCENE-9056
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9056
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> This is a follow-up to LUCENE-9027. Now that we compute the prefix sum in #refillDocs, we can remove the check that we are on the last document of the postings list so that we should return NO_MORE_DOCS.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org