[ https://issues.apache.org/jira/browse/LUCENE-3648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170189#comment-13170189 ]
Michael McCandless commented on LUCENE-3648: -------------------------------------------- OK I ran again, with a more modern JVM (Java 1.7.0_01), and the results are better! Deletes: {noformat} Task QPS base StdDev base QPS patchStdDev patch Pct diff Respell 62.87 2.65 61.37 2.86 -10% - 6% Fuzzy2 56.94 2.00 56.50 2.46 -8% - 7% Phrase 8.71 0.50 8.67 0.44 -10% - 10% Fuzzy1 76.38 3.10 76.07 3.20 -8% - 8% TermGroup1M 35.08 0.55 35.05 0.88 -4% - 4% SloppyPhrase 11.80 0.57 11.80 0.68 -10% - 11% AndHighMed 53.93 3.78 54.00 1.92 -9% - 11% AndHighHigh 16.33 0.72 16.37 0.65 -7% - 9% TermBGroup1M1P 13.69 0.55 13.76 0.61 -7% - 9% SpanNear 4.31 0.13 4.35 0.11 -4% - 6% TermBGroup1M 8.95 0.29 9.10 0.26 -4% - 7% PKLookup 161.50 5.00 165.99 8.45 -5% - 11% OrHighMed 16.34 0.44 17.15 0.70 -1% - 12% Wildcard 25.03 0.09 26.38 1.46 0% - 11% Term 58.62 2.18 61.85 3.05 -3% - 14% OrHighHigh 10.87 0.30 11.48 0.46 -1% - 12% Prefix3 47.57 0.42 50.88 2.93 0% - 14% IntNRQ 6.92 0.37 7.66 0.85 -6% - 29% {noformat} No deletes: {noformat} Task QPS base StdDev base QPS patchStdDev patch Pct diff Phrase 4.69 0.18 4.52 0.18 -10% - 4% SloppyPhrase 6.79 0.25 6.62 0.19 -8% - 3% SpanNear 2.08 0.02 2.05 0.04 -4% - 1% IntNRQ 9.80 0.36 9.69 1.04 -14% - 13% TermBGroup1M 42.63 1.09 42.94 2.17 -6% - 8% Respell 70.38 0.45 71.29 1.66 -1% - 4% Fuzzy1 64.88 0.61 65.77 2.15 -2% - 5% AndHighHigh 10.58 0.30 10.74 0.28 -3% - 7% AndHighMed 71.25 1.58 72.52 1.73 -2% - 6% Wildcard 24.29 0.38 24.72 0.87 -3% - 7% Fuzzy2 46.45 0.61 47.29 1.54 -2% - 6% TermGroup1M 32.16 0.66 32.75 0.72 -2% - 6% OrHighMed 13.65 0.40 13.96 0.34 -3% - 7% Prefix3 63.00 1.08 64.41 2.59 -3% - 8% OrHighHigh 5.22 0.15 5.34 0.13 -3% - 8% TermBGroup1M1P 52.66 0.61 53.99 1.42 -1% - 6% PKLookup 159.98 9.36 168.62 4.83 -3% - 15% Term 67.51 3.42 71.42 3.13 -3% - 16% {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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org