[ https://issues.apache.org/jira/browse/LUCENE-3648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Willnauer updated LUCENE-3648: ------------------------------------ Attachment: LUCENE-3648.patch here is a new patch that gives me more stable results. without deletes: {code} Task QPS trunk StdDev trunk QPS patch StdDev patch Pct diff SloppyPhrase 3.97 0.20 3.88 0.25 -12% - 9% Phrase 13.93 0.73 13.67 0.82 -12% - 9% Respell 45.64 1.99 45.08 2.32 -10% - 8% Fuzzy2 20.12 0.86 20.05 1.07 -9% - 9% SpanNear 5.97 0.27 5.98 0.21 -7% - 8% Fuzzy1 54.91 2.14 55.08 2.54 -7% - 9% PKLookup 88.94 5.86 90.98 4.66 -8% - 15% TermGroup1M 17.59 0.25 18.07 0.25 0% - 5% Wildcard 42.64 1.22 43.86 1.08 -2% - 8% TermBGroup1M1P 37.90 0.93 39.22 0.35 0% - 7% TermBGroup1M 13.14 0.24 13.64 0.18 0% - 7% Prefix3 32.60 1.14 34.01 0.90 -1% - 10% IntNRQ 5.06 0.45 5.36 0.40 -9% - 24% AndHighMed 32.92 1.87 35.00 2.26 -5% - 19% AndHighHigh 7.63 0.41 8.14 0.44 -4% - 18% Term 70.92 3.59 76.52 4.56 -3% - 20% OrHighMed 6.89 0.25 7.44 0.29 0% - 16% OrHighHigh 3.41 0.13 3.70 0.15 0% - 17% {code} with deletes: {code} Task QPS trunk StdDev trunk QPS patch StdDev patch Pct diff PKLookup 92.65 5.06 91.04 4.36 -11% - 8% AndHighHigh 9.55 0.58 9.54 0.43 -10% - 11% Respell 47.56 2.19 47.60 2.22 -8% - 9% Fuzzy2 44.42 2.15 44.54 2.09 -8% - 10% SloppyPhrase 3.66 0.17 3.68 0.19 -8% - 10% AndHighMed 18.79 1.69 18.90 1.04 -12% - 16% Fuzzy1 51.89 2.44 52.25 2.30 -8% - 10% TermBGroup1M1P 26.23 0.61 26.57 0.63 -3% - 6% Phrase 9.25 0.72 9.38 0.69 -12% - 17% SpanNear 2.86 0.13 2.90 0.11 -6% - 10% TermBGroup1M 27.50 0.62 27.90 0.73 -3% - 6% TermGroup1M 25.48 0.58 25.87 0.59 -2% - 6% Wildcard 19.02 0.70 19.43 0.67 -4% - 9% Term 41.22 1.70 42.15 1.94 -6% - 11% IntNRQ 4.52 0.27 4.63 0.33 -10% - 16% Prefix3 18.09 0.77 18.59 0.70 -5% - 11% OrHighMed 9.09 0.42 9.70 0.34 -1% - 15% OrHighHigh 6.56 0.29 7.00 0.23 -1% - 15% {code} > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org