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

Michael McCandless commented on LUCENE-3648:
--------------------------------------------

This time I ran 20 iters per (total 40).

Deletes:
{noformat}
                Task    QPS base StdDev base   QPS patchStdDev patch      Pct 
diff
                Term       61.01        3.12       58.09        2.73  -13% -    
5%
         AndHighHigh       14.18        0.73       13.53        0.50  -12% -    
4%
             Prefix3       54.40        2.36       52.28        2.28  -11% -    
4%
              IntNRQ        7.82        0.51        7.53        0.43  -14% -    
8%
            Wildcard       27.19        1.15       26.24        1.07  -11% -    
4%
          AndHighMed       67.68        3.96       65.42        3.37  -13% -    
7%
           OrHighMed       12.38        0.68       12.01        0.89  -14% -   
10%
          OrHighHigh        6.94        0.38        6.73        0.49  -14% -   
10%
        TermBGroup1M       39.01        1.02       37.91        0.96   -7% -    
2%
      TermBGroup1M1P       35.65        1.34       34.75        1.08   -8% -    
4%
         TermGroup1M       31.31        0.69       30.67        0.64   -6% -    
2%
            SpanNear        3.36        0.13        3.32        0.13   -8% -    
6%
              Phrase        6.64        0.50        6.56        0.43  -14% -   
13%
            PKLookup      160.01        5.21      158.48        7.02   -8% -    
6%
        SloppyPhrase        6.52        0.29        6.49        0.25   -8% -    
8%
              Fuzzy1       52.51        1.90       52.32        2.79   -8% -    
8%
              Fuzzy2       41.82        2.28       42.34        2.85  -10% -   
14%
             Respell       75.82        5.03       77.18        5.76  -11% -   
17%
{noformat}

No deletes:
{noformat}
                Task    QPS base StdDev base   QPS patchStdDev patch      Pct 
diff
             Respell       70.35        5.66       69.88        4.87  -14% -   
15%
              Phrase        2.10        0.13        2.10        0.13  -11% -   
13%
              Fuzzy2       43.46        3.22       43.51        2.68  -12% -   
14%
             Prefix3       28.88        2.03       28.94        1.58  -11% -   
13%
            Wildcard       42.65        2.26       42.80        1.90   -8% -   
10%
            PKLookup      156.39        6.43      157.10        4.92   -6% -    
8%
              Fuzzy1       70.51        4.15       71.31        3.16   -8% -   
12%
      TermBGroup1M1P       12.29        0.67       12.44        0.57   -8% -   
11%
         TermGroup1M       30.92        1.01       31.30        0.56   -3% -    
6%
           OrHighMed       17.84        1.17       18.08        0.68   -8% -   
12%
              IntNRQ        8.05        0.76        8.16        0.69  -15% -   
21%
        SloppyPhrase       19.02        0.87       19.31        1.01   -7% -   
11%
        TermBGroup1M       43.87        1.44       44.61        1.00   -3% -    
7%
            SpanNear        2.38        0.15        2.43        0.15   -9% -   
15%
         AndHighHigh       15.25        1.06       15.57        0.52   -7% -   
13%
          AndHighMed       50.55        3.17       51.80        1.77   -6% -   
13%
          OrHighHigh        5.99        0.40        6.14        0.25   -7% -   
14%
                Term       95.84        6.18       98.48        4.81   -8% -   
15%
{noformat}

                
> Speed up SegementDocsEnum by making it more friendly for JIT optimizations
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-3648
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3648
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/codecs, core/search
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-3648.patch, LUCENE-3648.patch
>
>
> Since we moved the bulk reading into the codec ie. make all  bulk reading 
> codec private in LUCENE-3584 we have seen some performance 
> [regression|http://people.apache.org/~mikemccand/lucenebench/Term.html] on 
> different CPUs. I tried to optimize the implementation to make it more 
> eligible for runtime optimizations, tried to make loops JIT friendly by 
> moving out branches where I can, minimize member access in all loops, use 
> final members where possible and specialize the two common cases With & 
> Without LiveDocs.
> I will attache a patch and my benchmark results in a minute.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to