[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769060#action_12769060 ]
Mark Miller commented on LUCENE-1997: ------------------------------------- Same system, Java 1.6.0_15 ||Seg size||Query||Tot hits||Sort||Top N||QPS old||QPS new||Pct change|| |log|1|317925|title|10|105.46|97.11|{color:red}-7.9%{color}| |log|1|317925|title|25|109.08|98.34|{color:red}-9.8%{color}| |log|1|317925|title|50|108.01|93.99|{color:red}-13.0%{color}| |log|1|317925|title|100|105.79|84.08|{color:red}-20.5%{color}| |log|1|317925|title|500|91.12|50.28|{color:red}-44.8%{color}| |log|1|317925|title|1000|80.51|33.59|{color:red}-58.3%{color}| |log|<all>|1000000|title|10|113.89|105.39|{color:red}-7.5%{color}| |log|<all>|1000000|title|25|113.14|102.13|{color:red}-9.7%{color}| |log|<all>|1000000|title|50|111.30|96.51|{color:red}-13.3%{color}| |log|<all>|1000000|title|100|86.77|83.86|{color:red}-3.4%{color}| |log|<all>|1000000|title|500|78.00|42.15|{color:red}-46.0%{color}| |log|<all>|1000000|title|1000|70.50|27.02|{color:red}-61.7%{color}| |log|<all>|1000000|rand string|10|107.78|106.09|{color:red}-1.6%{color}| |log|<all>|1000000|rand string|25|103.09|102.53|{color:red}-0.5%{color}| |log|<all>|1000000|rand string|50|106.42|95.17|{color:red}-10.6%{color}| |log|<all>|1000000|rand string|100|86.28|85.41|{color:red}-1.0%{color}| |log|<all>|1000000|rand string|500|76.69|37.76|{color:red}-50.8%{color}| |log|<all>|1000000|rand string|1000|68.48|22.95|{color:red}-66.5%{color}| |log|<all>|1000000|country|10|103.36|106.79|{color:green}3.3%{color}| |log|<all>|1000000|country|25|103.43|102.69|{color:red}-0.7%{color}| |log|<all>|1000000|country|50|102.93|94.97|{color:red}-7.7%{color}| |log|<all>|1000000|country|100|108.49|85.71|{color:red}-21.0%{color}| |log|<all>|1000000|country|500|80.87|38.23|{color:red}-52.7%{color}| |log|<all>|1000000|country|1000|67.24|22.79|{color:red}-66.1%{color}| |log|<all>|1000000|rand int|10|120.59|112.03|{color:red}-7.1%{color}| |log|<all>|1000000|rand int|25|119.80|107.49|{color:red}-10.3%{color}| |log|<all>|1000000|rand int|50|119.96|98.84|{color:red}-17.6%{color}| |log|<all>|1000000|rand int|100|88.58|89.24|{color:green}0.7%{color}| |log|<all>|1000000|rand int|500|83.50|40.13|{color:red}-51.9%{color}| |log|<all>|1000000|rand int|1000|74.80|23.83|{color:red}-68.1%{color}| > Explore performance of multi-PQ vs single-PQ sorting API > -------------------------------------------------------- > > Key: LUCENE-1997 > URL: https://issues.apache.org/jira/browse/LUCENE-1997 > Project: Lucene - Java > Issue Type: Improvement > Components: Search > Affects Versions: 2.9 > Reporter: Michael McCandless > Assignee: Michael McCandless > Attachments: LUCENE-1997.patch, LUCENE-1997.patch > > > Spinoff from recent "lucene 2.9 sorting algorithm" thread on java-dev, > where a simpler (non-segment-based) comparator API is proposed that > gathers results into multiple PQs (one per segment) and then merges > them in the end. > I started from John's multi-PQ code and worked it into > contrib/benchmark so that we could run perf tests. Then I generified > the Python script I use for running search benchmarks (in > contrib/benchmark/sortBench.py). > The script first creates indexes with 1M docs (based on > SortableSingleDocSource, and based on wikipedia, if available). Then > it runs various combinations: > * Index with 20 balanced segments vs index with the "normal" log > segment size > * Queries with different numbers of hits (only for wikipedia index) > * Different top N > * Different sorts (by title, for wikipedia, and by random string, > random int, and country for the random index) > For each test, 7 search rounds are run and the best QPS is kept. The > script runs singlePQ then multiPQ, and records the resulting best QPS > for each and produces table (in Jira format) as output. -- 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org