Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize innerhits query performance #16937

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kkewwei
Copy link
Contributor

@kkewwei kkewwei commented Jan 3, 2025

Description

During I experimentation with concurrent execution in the innerhit phase, I discovered another logic that requires optimization.

It is known that TermQuery is never cached in QueryCache, but innerhit phase extensively utilizes TermQuery, resulting in inefficient(https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/search/UsageTrackingQueryCachingPolicy.java#L57). The following improvements can be made:

Related Issues

Resolves #16878 (comment)

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@kkewwei
Copy link
Contributor Author

kkewwei commented Jan 3, 2025

{"run-benchmark-test": "id_5"}

@kkewwei
Copy link
Contributor Author

kkewwei commented Jan 3, 2025

I found that InnerHitsIT integration test can fully covered my changes, and it seems difficult to add unit test.

Copy link
Contributor

github-actions bot commented Jan 3, 2025

❌ Gradle check result for a1c5a45: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@kkewwei kkewwei force-pushed the optimize_innerhits_query branch from a1c5a45 to 6b556c0 Compare January 4, 2025 02:38
@rishabh6788
Copy link
Contributor

{"run-benchmark-test": "id_5"}

Copy link
Contributor

github-actions bot commented Jan 4, 2025

The Jenkins job url is https://build.ci.opensearch.org/job/benchmark-pull-request/2018/ . Final results will be published once the job is completed.

Copy link
Contributor

github-actions bot commented Jan 4, 2025

❌ Gradle check result for 58f9a01: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@opensearch-ci-bot
Copy link
Collaborator

Benchmark Results

Benchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-pull-request/2018/

Metric Task Value Unit
Cumulative indexing time of primary shards 0 min
Min cumulative indexing time across primary shards 0 min
Median cumulative indexing time across primary shards 0 min
Max cumulative indexing time across primary shards 0 min
Cumulative indexing throttle time of primary shards 0 min
Min cumulative indexing throttle time across primary shards 0 min
Median cumulative indexing throttle time across primary shards 0 min
Max cumulative indexing throttle time across primary shards 0 min
Cumulative merge time of primary shards 0 min
Cumulative merge count of primary shards 0
Min cumulative merge time across primary shards 0 min
Median cumulative merge time across primary shards 0 min
Max cumulative merge time across primary shards 0 min
Cumulative merge throttle time of primary shards 0 min
Min cumulative merge throttle time across primary shards 0 min
Median cumulative merge throttle time across primary shards 0 min
Max cumulative merge throttle time across primary shards 0 min
Cumulative refresh time of primary shards 0 min
Cumulative refresh count of primary shards 4
Min cumulative refresh time across primary shards 0 min
Median cumulative refresh time across primary shards 0 min
Max cumulative refresh time across primary shards 0 min
Cumulative flush time of primary shards 0 min
Cumulative flush count of primary shards 1
Min cumulative flush time across primary shards 0 min
Median cumulative flush time across primary shards 0 min
Max cumulative flush time across primary shards 0 min
Total Young Gen GC time 1.103 s
Total Young Gen GC count 71
Total Old Gen GC time 0 s
Total Old Gen GC count 0
Store size 23.9833 GB
Translog size 5.12227e-08 GB
Heap used for segments 0 MB
Heap used for doc values 0 MB
Heap used for terms 0 MB
Heap used for norms 0 MB
Heap used for points 0 MB
Heap used for stored fields 0 MB
Segment count 14
Min Throughput wait-for-snapshot-recovery 4.17547e+07 byte/s
Mean Throughput wait-for-snapshot-recovery 4.17547e+07 byte/s
Median Throughput wait-for-snapshot-recovery 4.17547e+07 byte/s
Max Throughput wait-for-snapshot-recovery 4.17547e+07 byte/s
100th percentile latency wait-for-snapshot-recovery 611692 ms
100th percentile service time wait-for-snapshot-recovery 611692 ms
error rate wait-for-snapshot-recovery 0 %
Min Throughput wait-until-merges-finish 130.73 ops/s
Mean Throughput wait-until-merges-finish 130.73 ops/s
Median Throughput wait-until-merges-finish 130.73 ops/s
Max Throughput wait-until-merges-finish 130.73 ops/s
100th percentile latency wait-until-merges-finish 7.35674 ms
100th percentile service time wait-until-merges-finish 7.35674 ms
error rate wait-until-merges-finish 0 %
Min Throughput default 2.01 ops/s
Mean Throughput default 2.01 ops/s
Median Throughput default 2.01 ops/s
Max Throughput default 2.01 ops/s
50th percentile latency default 7.5743 ms
90th percentile latency default 8.02165 ms
99th percentile latency default 8.57136 ms
100th percentile latency default 8.79856 ms
50th percentile service time default 6.18253 ms
90th percentile service time default 6.54393 ms
99th percentile service time default 7.42754 ms
100th percentile service time default 7.54255 ms
error rate default 0 %
Min Throughput desc_sort_timestamp 2.01 ops/s
Mean Throughput desc_sort_timestamp 2.01 ops/s
Median Throughput desc_sort_timestamp 2.01 ops/s
Max Throughput desc_sort_timestamp 2.01 ops/s
50th percentile latency desc_sort_timestamp 8.95519 ms
90th percentile latency desc_sort_timestamp 9.52141 ms
99th percentile latency desc_sort_timestamp 11.8085 ms
100th percentile latency desc_sort_timestamp 12.5525 ms
50th percentile service time desc_sort_timestamp 7.57348 ms
90th percentile service time desc_sort_timestamp 7.93324 ms
99th percentile service time desc_sort_timestamp 10.3744 ms
100th percentile service time desc_sort_timestamp 10.8467 ms
error rate desc_sort_timestamp 0 %
Min Throughput asc_sort_timestamp 2.01 ops/s
Mean Throughput asc_sort_timestamp 2.01 ops/s
Median Throughput asc_sort_timestamp 2.01 ops/s
Max Throughput asc_sort_timestamp 2.01 ops/s
50th percentile latency asc_sort_timestamp 9.57569 ms
90th percentile latency asc_sort_timestamp 10.0051 ms
99th percentile latency asc_sort_timestamp 21.7681 ms
100th percentile latency asc_sort_timestamp 31.0857 ms
50th percentile service time asc_sort_timestamp 8.20517 ms
90th percentile service time asc_sort_timestamp 8.47968 ms
99th percentile service time asc_sort_timestamp 20.5245 ms
100th percentile service time asc_sort_timestamp 30.1312 ms
error rate asc_sort_timestamp 0 %
Min Throughput desc_sort_with_after_timestamp 2 ops/s
Mean Throughput desc_sort_with_after_timestamp 2 ops/s
Median Throughput desc_sort_with_after_timestamp 2 ops/s
Max Throughput desc_sort_with_after_timestamp 2.01 ops/s
50th percentile latency desc_sort_with_after_timestamp 122.792 ms
90th percentile latency desc_sort_with_after_timestamp 124.6 ms
99th percentile latency desc_sort_with_after_timestamp 134.839 ms
100th percentile latency desc_sort_with_after_timestamp 135.267 ms
50th percentile service time desc_sort_with_after_timestamp 121.477 ms
90th percentile service time desc_sort_with_after_timestamp 123.382 ms
99th percentile service time desc_sort_with_after_timestamp 133.694 ms
100th percentile service time desc_sort_with_after_timestamp 133.752 ms
error rate desc_sort_with_after_timestamp 0 %
Min Throughput asc_sort_with_after_timestamp 2 ops/s
Mean Throughput asc_sort_with_after_timestamp 2 ops/s
Median Throughput asc_sort_with_after_timestamp 2 ops/s
Max Throughput asc_sort_with_after_timestamp 2.01 ops/s
50th percentile latency asc_sort_with_after_timestamp 165.099 ms
90th percentile latency asc_sort_with_after_timestamp 171.205 ms
99th percentile latency asc_sort_with_after_timestamp 199.147 ms
100th percentile latency asc_sort_with_after_timestamp 207.054 ms
50th percentile service time asc_sort_with_after_timestamp 163.956 ms
90th percentile service time asc_sort_with_after_timestamp 169.881 ms
99th percentile service time asc_sort_with_after_timestamp 198.274 ms
100th percentile service time asc_sort_with_after_timestamp 206.375 ms
error rate asc_sort_with_after_timestamp 0 %
Min Throughput desc_sort_timestamp_can_match_shortcut 2.01 ops/s
Mean Throughput desc_sort_timestamp_can_match_shortcut 2.01 ops/s
Median Throughput desc_sort_timestamp_can_match_shortcut 2.01 ops/s
Max Throughput desc_sort_timestamp_can_match_shortcut 2.01 ops/s
50th percentile latency desc_sort_timestamp_can_match_shortcut 7.11217 ms
90th percentile latency desc_sort_timestamp_can_match_shortcut 7.53979 ms
99th percentile latency desc_sort_timestamp_can_match_shortcut 8.42644 ms
100th percentile latency desc_sort_timestamp_can_match_shortcut 8.93196 ms
50th percentile service time desc_sort_timestamp_can_match_shortcut 5.81767 ms
90th percentile service time desc_sort_timestamp_can_match_shortcut 5.97752 ms
99th percentile service time desc_sort_timestamp_can_match_shortcut 6.82851 ms
100th percentile service time desc_sort_timestamp_can_match_shortcut 7.31219 ms
error rate desc_sort_timestamp_can_match_shortcut 0 %
Min Throughput desc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Mean Throughput desc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Median Throughput desc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Max Throughput desc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
50th percentile latency desc_sort_timestamp_no_can_match_shortcut 6.93256 ms
90th percentile latency desc_sort_timestamp_no_can_match_shortcut 7.31767 ms
99th percentile latency desc_sort_timestamp_no_can_match_shortcut 8.50074 ms
100th percentile latency desc_sort_timestamp_no_can_match_shortcut 8.55393 ms
50th percentile service time desc_sort_timestamp_no_can_match_shortcut 5.56099 ms
90th percentile service time desc_sort_timestamp_no_can_match_shortcut 5.71421 ms
99th percentile service time desc_sort_timestamp_no_can_match_shortcut 7.07603 ms
100th percentile service time desc_sort_timestamp_no_can_match_shortcut 7.11352 ms
error rate desc_sort_timestamp_no_can_match_shortcut 0 %
Min Throughput asc_sort_timestamp_can_match_shortcut 2.01 ops/s
Mean Throughput asc_sort_timestamp_can_match_shortcut 2.01 ops/s
Median Throughput asc_sort_timestamp_can_match_shortcut 2.01 ops/s
Max Throughput asc_sort_timestamp_can_match_shortcut 2.01 ops/s
50th percentile latency asc_sort_timestamp_can_match_shortcut 8.73935 ms
90th percentile latency asc_sort_timestamp_can_match_shortcut 9.09745 ms
99th percentile latency asc_sort_timestamp_can_match_shortcut 9.38952 ms
100th percentile latency asc_sort_timestamp_can_match_shortcut 9.48329 ms
50th percentile service time asc_sort_timestamp_can_match_shortcut 7.42932 ms
90th percentile service time asc_sort_timestamp_can_match_shortcut 7.5973 ms
99th percentile service time asc_sort_timestamp_can_match_shortcut 8.06976 ms
100th percentile service time asc_sort_timestamp_can_match_shortcut 8.27526 ms
error rate asc_sort_timestamp_can_match_shortcut 0 %
Min Throughput asc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Mean Throughput asc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Median Throughput asc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Max Throughput asc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
50th percentile latency asc_sort_timestamp_no_can_match_shortcut 8.6722 ms
90th percentile latency asc_sort_timestamp_no_can_match_shortcut 9.04827 ms
99th percentile latency asc_sort_timestamp_no_can_match_shortcut 11.3947 ms
100th percentile latency asc_sort_timestamp_no_can_match_shortcut 11.3989 ms
50th percentile service time asc_sort_timestamp_no_can_match_shortcut 7.34276 ms
90th percentile service time asc_sort_timestamp_no_can_match_shortcut 7.51366 ms
99th percentile service time asc_sort_timestamp_no_can_match_shortcut 9.74875 ms
100th percentile service time asc_sort_timestamp_no_can_match_shortcut 9.85451 ms
error rate asc_sort_timestamp_no_can_match_shortcut 0 %
Min Throughput term 2.01 ops/s
Mean Throughput term 2.01 ops/s
Median Throughput term 2.01 ops/s
Max Throughput term 2.01 ops/s
50th percentile latency term 6.03771 ms
90th percentile latency term 6.52972 ms
99th percentile latency term 7.12676 ms
100th percentile latency term 7.1556 ms
50th percentile service time term 4.7415 ms
90th percentile service time term 4.90556 ms
99th percentile service time term 5.61628 ms
100th percentile service time term 5.68815 ms
error rate term 0 %
Min Throughput multi_terms-keyword 1.29 ops/s
Mean Throughput multi_terms-keyword 1.29 ops/s
Median Throughput multi_terms-keyword 1.29 ops/s
Max Throughput multi_terms-keyword 1.3 ops/s
50th percentile latency multi_terms-keyword 68221.8 ms
90th percentile latency multi_terms-keyword 78815.9 ms
99th percentile latency multi_terms-keyword 81197.3 ms
100th percentile latency multi_terms-keyword 81328.2 ms
50th percentile service time multi_terms-keyword 763.039 ms
90th percentile service time multi_terms-keyword 769.465 ms
99th percentile service time multi_terms-keyword 787.331 ms
100th percentile service time multi_terms-keyword 795.431 ms
error rate multi_terms-keyword 0 %
Min Throughput keyword-terms 2 ops/s
Mean Throughput keyword-terms 2.01 ops/s
Median Throughput keyword-terms 2.01 ops/s
Max Throughput keyword-terms 2.01 ops/s
50th percentile latency keyword-terms 33.7907 ms
90th percentile latency keyword-terms 34.2378 ms
99th percentile latency keyword-terms 35.8126 ms
100th percentile latency keyword-terms 36.0975 ms
50th percentile service time keyword-terms 32.4724 ms
90th percentile service time keyword-terms 32.7402 ms
99th percentile service time keyword-terms 34.1129 ms
100th percentile service time keyword-terms 34.4157 ms
error rate keyword-terms 0 %
Min Throughput keyword-terms-low-cardinality 2.01 ops/s
Mean Throughput keyword-terms-low-cardinality 2.01 ops/s
Median Throughput keyword-terms-low-cardinality 2.01 ops/s
Max Throughput keyword-terms-low-cardinality 2.01 ops/s
50th percentile latency keyword-terms-low-cardinality 31.6816 ms
90th percentile latency keyword-terms-low-cardinality 32.2561 ms
99th percentile latency keyword-terms-low-cardinality 36.4739 ms
100th percentile latency keyword-terms-low-cardinality 39.7586 ms
50th percentile service time keyword-terms-low-cardinality 30.3289 ms
90th percentile service time keyword-terms-low-cardinality 30.648 ms
99th percentile service time keyword-terms-low-cardinality 35.4764 ms
100th percentile service time keyword-terms-low-cardinality 38.89 ms
error rate keyword-terms-low-cardinality 0 %
Min Throughput composite-terms 2 ops/s
Mean Throughput composite-terms 2 ops/s
Median Throughput composite-terms 2 ops/s
Max Throughput composite-terms 2 ops/s
50th percentile latency composite-terms 236.841 ms
90th percentile latency composite-terms 242.985 ms
99th percentile latency composite-terms 250.747 ms
100th percentile latency composite-terms 253.668 ms
50th percentile service time composite-terms 235.604 ms
90th percentile service time composite-terms 241.611 ms
99th percentile service time composite-terms 249.323 ms
100th percentile service time composite-terms 252.113 ms
error rate composite-terms 0 %
Min Throughput composite_terms-keyword 2 ops/s
Mean Throughput composite_terms-keyword 2 ops/s
Median Throughput composite_terms-keyword 2 ops/s
Max Throughput composite_terms-keyword 2 ops/s
50th percentile latency composite_terms-keyword 374.208 ms
90th percentile latency composite_terms-keyword 384.864 ms
99th percentile latency composite_terms-keyword 394.339 ms
100th percentile latency composite_terms-keyword 395.076 ms
50th percentile service time composite_terms-keyword 373.205 ms
90th percentile service time composite_terms-keyword 384.036 ms
99th percentile service time composite_terms-keyword 393.261 ms
100th percentile service time composite_terms-keyword 393.71 ms
error rate composite_terms-keyword 0 %
Min Throughput composite-date_histogram-daily 2.01 ops/s
Mean Throughput composite-date_histogram-daily 2.01 ops/s
Median Throughput composite-date_histogram-daily 2.01 ops/s
Max Throughput composite-date_histogram-daily 2.01 ops/s
50th percentile latency composite-date_histogram-daily 4.67259 ms
90th percentile latency composite-date_histogram-daily 5.04709 ms
99th percentile latency composite-date_histogram-daily 5.37851 ms
100th percentile latency composite-date_histogram-daily 5.58268 ms
50th percentile service time composite-date_histogram-daily 3.36909 ms
90th percentile service time composite-date_histogram-daily 3.49775 ms
99th percentile service time composite-date_histogram-daily 3.93302 ms
100th percentile service time composite-date_histogram-daily 4.1869 ms
error rate composite-date_histogram-daily 0 %
Min Throughput range 2.01 ops/s
Mean Throughput range 2.01 ops/s
Median Throughput range 2.01 ops/s
Max Throughput range 2.01 ops/s
50th percentile latency range 12.9849 ms
90th percentile latency range 13.4311 ms
99th percentile latency range 13.6214 ms
100th percentile latency range 13.6477 ms
50th percentile service time range 11.7658 ms
90th percentile service time range 11.9261 ms
99th percentile service time range 12.0255 ms
100th percentile service time range 12.0358 ms
error rate range 0 %
Min Throughput range-numeric 2.01 ops/s
Mean Throughput range-numeric 2.01 ops/s
Median Throughput range-numeric 2.01 ops/s
Max Throughput range-numeric 2.01 ops/s
50th percentile latency range-numeric 3.85923 ms
90th percentile latency range-numeric 4.23686 ms
99th percentile latency range-numeric 4.47788 ms
100th percentile latency range-numeric 4.48357 ms
50th percentile service time range-numeric 2.56128 ms
90th percentile service time range-numeric 2.71886 ms
99th percentile service time range-numeric 2.81225 ms
100th percentile service time range-numeric 2.81281 ms
error rate range-numeric 0 %
Min Throughput keyword-in-range 2.01 ops/s
Mean Throughput keyword-in-range 2.01 ops/s
Median Throughput keyword-in-range 2.01 ops/s
Max Throughput keyword-in-range 2.01 ops/s
50th percentile latency keyword-in-range 16.6286 ms
90th percentile latency keyword-in-range 17.123 ms
99th percentile latency keyword-in-range 17.5188 ms
100th percentile latency keyword-in-range 17.6283 ms
50th percentile service time keyword-in-range 15.2755 ms
90th percentile service time keyword-in-range 15.5478 ms
99th percentile service time keyword-in-range 16.2922 ms
100th percentile service time keyword-in-range 16.5801 ms
error rate keyword-in-range 0 %
Min Throughput date_histogram_hourly_agg 2.01 ops/s
Mean Throughput date_histogram_hourly_agg 2.01 ops/s
Median Throughput date_histogram_hourly_agg 2.01 ops/s
Max Throughput date_histogram_hourly_agg 2.01 ops/s
50th percentile latency date_histogram_hourly_agg 8.7641 ms
90th percentile latency date_histogram_hourly_agg 9.22995 ms
99th percentile latency date_histogram_hourly_agg 11.2254 ms
100th percentile latency date_histogram_hourly_agg 11.9233 ms
50th percentile service time date_histogram_hourly_agg 7.40706 ms
90th percentile service time date_histogram_hourly_agg 7.56204 ms
99th percentile service time date_histogram_hourly_agg 9.77385 ms
100th percentile service time date_histogram_hourly_agg 10.4651 ms
error rate date_histogram_hourly_agg 0 %
Min Throughput date_histogram_minute_agg 2 ops/s
Mean Throughput date_histogram_minute_agg 2 ops/s
Median Throughput date_histogram_minute_agg 2 ops/s
Max Throughput date_histogram_minute_agg 2 ops/s
50th percentile latency date_histogram_minute_agg 42.9836 ms
90th percentile latency date_histogram_minute_agg 44.4922 ms
99th percentile latency date_histogram_minute_agg 45.6343 ms
100th percentile latency date_histogram_minute_agg 46.1181 ms
50th percentile service time date_histogram_minute_agg 41.9515 ms
90th percentile service time date_histogram_minute_agg 43.244 ms
99th percentile service time date_histogram_minute_agg 44.4964 ms
100th percentile service time date_histogram_minute_agg 44.805 ms
error rate date_histogram_minute_agg 0 %
Min Throughput scroll 45.59 pages/s
Mean Throughput scroll 45.67 pages/s
Median Throughput scroll 45.67 pages/s
Max Throughput scroll 45.77 pages/s
50th percentile latency scroll 12155.6 ms
90th percentile latency scroll 13762.8 ms
99th percentile latency scroll 14127.7 ms
100th percentile latency scroll 14146.9 ms
50th percentile service time scroll 532.789 ms
90th percentile service time scroll 540.98 ms
99th percentile service time scroll 567.625 ms
100th percentile service time scroll 568.204 ms
error rate scroll 0 %
Min Throughput query-string-on-message 2 ops/s
Mean Throughput query-string-on-message 2 ops/s
Median Throughput query-string-on-message 2 ops/s
Max Throughput query-string-on-message 2 ops/s
50th percentile latency query-string-on-message 152.082 ms
90th percentile latency query-string-on-message 152.772 ms
99th percentile latency query-string-on-message 157.063 ms
100th percentile latency query-string-on-message 158.984 ms
50th percentile service time query-string-on-message 149.936 ms
90th percentile service time query-string-on-message 150.387 ms
99th percentile service time query-string-on-message 154.656 ms
100th percentile service time query-string-on-message 156.581 ms
error rate query-string-on-message 0 %
Min Throughput query-string-on-message-filtered 2 ops/s
Mean Throughput query-string-on-message-filtered 2.01 ops/s
Median Throughput query-string-on-message-filtered 2.01 ops/s
Max Throughput query-string-on-message-filtered 2.01 ops/s
50th percentile latency query-string-on-message-filtered 31.1115 ms
90th percentile latency query-string-on-message-filtered 31.6745 ms
99th percentile latency query-string-on-message-filtered 34.2052 ms
100th percentile latency query-string-on-message-filtered 36.1405 ms
50th percentile service time query-string-on-message-filtered 29.8646 ms
90th percentile service time query-string-on-message-filtered 30.2276 ms
99th percentile service time query-string-on-message-filtered 33.0771 ms
100th percentile service time query-string-on-message-filtered 35.25 ms
error rate query-string-on-message-filtered 0 %
Min Throughput query-string-on-message-filtered-sorted-num 2.01 ops/s
Mean Throughput query-string-on-message-filtered-sorted-num 2.01 ops/s
Median Throughput query-string-on-message-filtered-sorted-num 2.01 ops/s
Max Throughput query-string-on-message-filtered-sorted-num 2.01 ops/s
50th percentile latency query-string-on-message-filtered-sorted-num 29.5921 ms
90th percentile latency query-string-on-message-filtered-sorted-num 30.3486 ms
99th percentile latency query-string-on-message-filtered-sorted-num 37.456 ms
100th percentile latency query-string-on-message-filtered-sorted-num 38.7919 ms
50th percentile service time query-string-on-message-filtered-sorted-num 28.2713 ms
90th percentile service time query-string-on-message-filtered-sorted-num 28.769 ms
99th percentile service time query-string-on-message-filtered-sorted-num 35.8522 ms
100th percentile service time query-string-on-message-filtered-sorted-num 37.241 ms
error rate query-string-on-message-filtered-sorted-num 0 %
Min Throughput sort_keyword_can_match_shortcut 2.01 ops/s
Mean Throughput sort_keyword_can_match_shortcut 2.01 ops/s
Median Throughput sort_keyword_can_match_shortcut 2.01 ops/s
Max Throughput sort_keyword_can_match_shortcut 2.01 ops/s
50th percentile latency sort_keyword_can_match_shortcut 5.25623 ms
90th percentile latency sort_keyword_can_match_shortcut 5.65831 ms
99th percentile latency sort_keyword_can_match_shortcut 5.75111 ms
100th percentile latency sort_keyword_can_match_shortcut 5.76741 ms
50th percentile service time sort_keyword_can_match_shortcut 3.88038 ms
90th percentile service time sort_keyword_can_match_shortcut 3.9761 ms
99th percentile service time sort_keyword_can_match_shortcut 4.17092 ms
100th percentile service time sort_keyword_can_match_shortcut 4.29676 ms
error rate sort_keyword_can_match_shortcut 0 %
Min Throughput sort_keyword_no_can_match_shortcut 2.01 ops/s
Mean Throughput sort_keyword_no_can_match_shortcut 2.01 ops/s
Median Throughput sort_keyword_no_can_match_shortcut 2.01 ops/s
Max Throughput sort_keyword_no_can_match_shortcut 2.01 ops/s
50th percentile latency sort_keyword_no_can_match_shortcut 5.20126 ms
90th percentile latency sort_keyword_no_can_match_shortcut 5.6481 ms
99th percentile latency sort_keyword_no_can_match_shortcut 6.06545 ms
100th percentile latency sort_keyword_no_can_match_shortcut 6.26038 ms
50th percentile service time sort_keyword_no_can_match_shortcut 3.90553 ms
90th percentile service time sort_keyword_no_can_match_shortcut 4.00831 ms
99th percentile service time sort_keyword_no_can_match_shortcut 4.50217 ms
100th percentile service time sort_keyword_no_can_match_shortcut 4.71283 ms
error rate sort_keyword_no_can_match_shortcut 0 %
Min Throughput sort_numeric_desc 2.01 ops/s
Mean Throughput sort_numeric_desc 2.01 ops/s
Median Throughput sort_numeric_desc 2.01 ops/s
Max Throughput sort_numeric_desc 2.01 ops/s
50th percentile latency sort_numeric_desc 6.51653 ms
90th percentile latency sort_numeric_desc 6.95248 ms
99th percentile latency sort_numeric_desc 7.1387 ms
100th percentile latency sort_numeric_desc 7.16735 ms
50th percentile service time sort_numeric_desc 5.23234 ms
90th percentile service time sort_numeric_desc 5.31016 ms
99th percentile service time sort_numeric_desc 5.41751 ms
100th percentile service time sort_numeric_desc 5.41923 ms
error rate sort_numeric_desc 0 %
Min Throughput sort_numeric_asc 2.01 ops/s
Mean Throughput sort_numeric_asc 2.01 ops/s
Median Throughput sort_numeric_asc 2.01 ops/s
Max Throughput sort_numeric_asc 2.01 ops/s
50th percentile latency sort_numeric_asc 6.06885 ms
90th percentile latency sort_numeric_asc 6.48208 ms
99th percentile latency sort_numeric_asc 6.60828 ms
100th percentile latency sort_numeric_asc 6.69219 ms
50th percentile service time sort_numeric_asc 4.7246 ms
90th percentile service time sort_numeric_asc 4.81149 ms
99th percentile service time sort_numeric_asc 5.01783 ms
100th percentile service time sort_numeric_asc 5.05299 ms
error rate sort_numeric_asc 0 %
Min Throughput sort_numeric_desc_with_match 2.01 ops/s
Mean Throughput sort_numeric_desc_with_match 2.01 ops/s
Median Throughput sort_numeric_desc_with_match 2.01 ops/s
Max Throughput sort_numeric_desc_with_match 2.01 ops/s
50th percentile latency sort_numeric_desc_with_match 3.63474 ms
90th percentile latency sort_numeric_desc_with_match 4.05983 ms
99th percentile latency sort_numeric_desc_with_match 4.22908 ms
100th percentile latency sort_numeric_desc_with_match 4.25399 ms
50th percentile service time sort_numeric_desc_with_match 2.35013 ms
90th percentile service time sort_numeric_desc_with_match 2.41163 ms
99th percentile service time sort_numeric_desc_with_match 2.50074 ms
100th percentile service time sort_numeric_desc_with_match 2.51193 ms
error rate sort_numeric_desc_with_match 0 %
Min Throughput sort_numeric_asc_with_match 2.01 ops/s
Mean Throughput sort_numeric_asc_with_match 2.01 ops/s
Median Throughput sort_numeric_asc_with_match 2.01 ops/s
Max Throughput sort_numeric_asc_with_match 2.01 ops/s
50th percentile latency sort_numeric_asc_with_match 3.6372 ms
90th percentile latency sort_numeric_asc_with_match 4.08057 ms
99th percentile latency sort_numeric_asc_with_match 4.66611 ms
100th percentile latency sort_numeric_asc_with_match 5.04469 ms
50th percentile service time sort_numeric_asc_with_match 2.38088 ms
90th percentile service time sort_numeric_asc_with_match 2.44092 ms
99th percentile service time sort_numeric_asc_with_match 2.49383 ms
100th percentile service time sort_numeric_asc_with_match 2.49469 ms
error rate sort_numeric_asc_with_match 0 %
Min Throughput range_field_conjunction_big_range_big_term_query 2.01 ops/s
Mean Throughput range_field_conjunction_big_range_big_term_query 2.01 ops/s
Median Throughput range_field_conjunction_big_range_big_term_query 2.01 ops/s
Max Throughput range_field_conjunction_big_range_big_term_query 2.01 ops/s
50th percentile latency range_field_conjunction_big_range_big_term_query 3.82234 ms
90th percentile latency range_field_conjunction_big_range_big_term_query 4.26279 ms
99th percentile latency range_field_conjunction_big_range_big_term_query 4.43523 ms
100th percentile latency range_field_conjunction_big_range_big_term_query 4.46093 ms
50th percentile service time range_field_conjunction_big_range_big_term_query 2.50088 ms
90th percentile service time range_field_conjunction_big_range_big_term_query 2.57292 ms
99th percentile service time range_field_conjunction_big_range_big_term_query 2.69067 ms
100th percentile service time range_field_conjunction_big_range_big_term_query 2.70315 ms
error rate range_field_conjunction_big_range_big_term_query 0 %
Min Throughput range_field_disjunction_big_range_small_term_query 2.01 ops/s
Mean Throughput range_field_disjunction_big_range_small_term_query 2.01 ops/s
Median Throughput range_field_disjunction_big_range_small_term_query 2.01 ops/s
Max Throughput range_field_disjunction_big_range_small_term_query 2.01 ops/s
50th percentile latency range_field_disjunction_big_range_small_term_query 3.76628 ms
90th percentile latency range_field_disjunction_big_range_small_term_query 4.15289 ms
99th percentile latency range_field_disjunction_big_range_small_term_query 4.46544 ms
100th percentile latency range_field_disjunction_big_range_small_term_query 4.4695 ms
50th percentile service time range_field_disjunction_big_range_small_term_query 2.4636 ms
90th percentile service time range_field_disjunction_big_range_small_term_query 2.57427 ms
99th percentile service time range_field_disjunction_big_range_small_term_query 2.69722 ms
100th percentile service time range_field_disjunction_big_range_small_term_query 2.70215 ms
error rate range_field_disjunction_big_range_small_term_query 0 %
Min Throughput range_field_conjunction_small_range_small_term_query 2.01 ops/s
Mean Throughput range_field_conjunction_small_range_small_term_query 2.01 ops/s
Median Throughput range_field_conjunction_small_range_small_term_query 2.01 ops/s
Max Throughput range_field_conjunction_small_range_small_term_query 2.01 ops/s
50th percentile latency range_field_conjunction_small_range_small_term_query 3.6458 ms
90th percentile latency range_field_conjunction_small_range_small_term_query 4.11981 ms
99th percentile latency range_field_conjunction_small_range_small_term_query 4.30173 ms
100th percentile latency range_field_conjunction_small_range_small_term_query 4.38079 ms
50th percentile service time range_field_conjunction_small_range_small_term_query 2.40484 ms
90th percentile service time range_field_conjunction_small_range_small_term_query 2.5259 ms
99th percentile service time range_field_conjunction_small_range_small_term_query 2.65932 ms
100th percentile service time range_field_conjunction_small_range_small_term_query 2.68812 ms
error rate range_field_conjunction_small_range_small_term_query 0 %
Min Throughput range_field_conjunction_small_range_big_term_query 2.01 ops/s
Mean Throughput range_field_conjunction_small_range_big_term_query 2.01 ops/s
Median Throughput range_field_conjunction_small_range_big_term_query 2.01 ops/s
Max Throughput range_field_conjunction_small_range_big_term_query 2.01 ops/s
50th percentile latency range_field_conjunction_small_range_big_term_query 3.81341 ms
90th percentile latency range_field_conjunction_small_range_big_term_query 4.17384 ms
99th percentile latency range_field_conjunction_small_range_big_term_query 4.3457 ms
100th percentile latency range_field_conjunction_small_range_big_term_query 4.41225 ms
50th percentile service time range_field_conjunction_small_range_big_term_query 2.47491 ms
90th percentile service time range_field_conjunction_small_range_big_term_query 2.58761 ms
99th percentile service time range_field_conjunction_small_range_big_term_query 2.71445 ms
100th percentile service time range_field_conjunction_small_range_big_term_query 2.7287 ms
error rate range_field_conjunction_small_range_big_term_query 0 %
Min Throughput range-auto-date-histo 0.1 ops/s
Mean Throughput range-auto-date-histo 0.1 ops/s
Median Throughput range-auto-date-histo 0.1 ops/s
Max Throughput range-auto-date-histo 0.1 ops/s
50th percentile latency range-auto-date-histo 2.31866e+06 ms
90th percentile latency range-auto-date-histo 2.68861e+06 ms
99th percentile latency range-auto-date-histo 2.77173e+06 ms
100th percentile latency range-auto-date-histo 2.77638e+06 ms
50th percentile service time range-auto-date-histo 9743.64 ms
90th percentile service time range-auto-date-histo 9844.63 ms
99th percentile service time range-auto-date-histo 10006.9 ms
100th percentile service time range-auto-date-histo 10037.7 ms
error rate range-auto-date-histo 0 %
Min Throughput range-auto-date-histo-with-metrics 0.04 ops/s
Mean Throughput range-auto-date-histo-with-metrics 0.04 ops/s
Median Throughput range-auto-date-histo-with-metrics 0.04 ops/s
Max Throughput range-auto-date-histo-with-metrics 0.04 ops/s
50th percentile latency range-auto-date-histo-with-metrics 5.65528e+06 ms
90th percentile latency range-auto-date-histo-with-metrics 6.55945e+06 ms
99th percentile latency range-auto-date-histo-with-metrics 6.7628e+06 ms
100th percentile latency range-auto-date-histo-with-metrics 6.77405e+06 ms
50th percentile service time range-auto-date-histo-with-metrics 23067.7 ms
90th percentile service time range-auto-date-histo-with-metrics 23261.3 ms
99th percentile service time range-auto-date-histo-with-metrics 23439.4 ms
100th percentile service time range-auto-date-histo-with-metrics 23456.6 ms
error rate range-auto-date-histo-with-metrics 0 %
Min Throughput range-agg-1 2.01 ops/s
Mean Throughput range-agg-1 2.01 ops/s
Median Throughput range-agg-1 2.01 ops/s
Max Throughput range-agg-1 2.01 ops/s
50th percentile latency range-agg-1 4.03064 ms
90th percentile latency range-agg-1 4.4614 ms
99th percentile latency range-agg-1 4.89828 ms
100th percentile latency range-agg-1 5.23666 ms
50th percentile service time range-agg-1 2.6955 ms
90th percentile service time range-agg-1 2.75845 ms
99th percentile service time range-agg-1 3.46238 ms
100th percentile service time range-agg-1 3.95363 ms
error rate range-agg-1 0 %
Min Throughput range-agg-2 2.01 ops/s
Mean Throughput range-agg-2 2.01 ops/s
Median Throughput range-agg-2 2.01 ops/s
Max Throughput range-agg-2 2.01 ops/s
50th percentile latency range-agg-2 4.23966 ms
90th percentile latency range-agg-2 4.63171 ms
99th percentile latency range-agg-2 4.71808 ms
100th percentile latency range-agg-2 4.73648 ms
50th percentile service time range-agg-2 2.90933 ms
90th percentile service time range-agg-2 2.97353 ms
99th percentile service time range-agg-2 3.27058 ms
100th percentile service time range-agg-2 3.4794 ms
error rate range-agg-2 0 %
Min Throughput cardinality-agg-low 2 ops/s
Mean Throughput cardinality-agg-low 2.01 ops/s
Median Throughput cardinality-agg-low 2.01 ops/s
Max Throughput cardinality-agg-low 2.01 ops/s
50th percentile latency cardinality-agg-low 5.34285 ms
90th percentile latency cardinality-agg-low 5.84538 ms
99th percentile latency cardinality-agg-low 5.91875 ms
100th percentile latency cardinality-agg-low 5.92404 ms
50th percentile service time cardinality-agg-low 4.09082 ms
90th percentile service time cardinality-agg-low 4.20358 ms
99th percentile service time cardinality-agg-low 4.39625 ms
100th percentile service time cardinality-agg-low 4.42049 ms
error rate cardinality-agg-low 0 %
Min Throughput cardinality-agg-high 0.4 ops/s
Mean Throughput cardinality-agg-high 0.4 ops/s
Median Throughput cardinality-agg-high 0.4 ops/s
Max Throughput cardinality-agg-high 0.4 ops/s
50th percentile latency cardinality-agg-high 508580 ms
90th percentile latency cardinality-agg-high 589873 ms
99th percentile latency cardinality-agg-high 608075 ms
100th percentile latency cardinality-agg-high 609085 ms
50th percentile service time cardinality-agg-high 2518.79 ms
90th percentile service time cardinality-agg-high 2575.89 ms
99th percentile service time cardinality-agg-high 2646.98 ms
100th percentile service time cardinality-agg-high 2663.25 ms
error rate cardinality-agg-high 0 %

@opensearch-ci-bot
Copy link
Collaborator

Benchmark Baseline Comparison Results

Benchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-compare/31/

Metric Task Baseline Contender Diff Unit
Cumulative indexing time of primary shards 0 0 0 min
Min cumulative indexing time across primary shard 0 0 0 min
Median cumulative indexing time across primary shard 0 0 0 min
Max cumulative indexing time across primary shard 0 0 0 min
Cumulative indexing throttle time of primary shards 0 0 0 min
Min cumulative indexing throttle time across primary shard 0 0 0 min
Median cumulative indexing throttle time across primary shard 0 0 0 min
Max cumulative indexing throttle time across primary shard 0 0 0 min
Cumulative merge time of primary shards 0 0 0 min
Cumulative merge count of primary shards 0 0 0
Min cumulative merge time across primary shard 0 0 0 min
Median cumulative merge time across primary shard 0 0 0 min
Max cumulative merge time across primary shard 0 0 0 min
Cumulative merge throttle time of primary shards 0 0 0 min
Min cumulative merge throttle time across primary shard 0 0 0 min
Median cumulative merge throttle time across primary shard 0 0 0 min
Max cumulative merge throttle time across primary shard 0 0 0 min
Cumulative refresh time of primary shards 0 0 0 min
Cumulative refresh count of primary shards 4 4 0
Min cumulative refresh time across primary shard 0 0 0 min
Median cumulative refresh time across primary shard 0 0 0 min
Max cumulative refresh time across primary shard 0 0 0 min
Cumulative flush time of primary shards 0 0 0 min
Cumulative flush count of primary shards 1 1 0
Min cumulative flush time across primary shard 0 0 0 min
Median cumulative flush time across primary shard 0 0 0 min
Max cumulative flush time across primary shard 0 0 0 min
Total Young Gen GC time 1.118 1.103 -0.015 s
Total Young Gen GC count 74 71 -3
Total Old Gen GC time 0 0 0 s
Total Old Gen GC count 0 0 0
Store size 23.9833 23.9833 0 GB
Translog size 5.12227e-08 5.12227e-08 0 GB
Heap used for segments 0 0 0 MB
Heap used for doc values 0 0 0 MB
Heap used for terms 0 0 0 MB
Heap used for norms 0 0 0 MB
Heap used for points 0 0 0 MB
Heap used for stored fields 0 0 0 MB
Segment count 14 14 0
Min Throughput wait-for-snapshot-recovery 4.18181e+07 4.17547e+07 -63396 byte/s
Mean Throughput wait-for-snapshot-recovery 4.18181e+07 4.17547e+07 -63396 byte/s
Median Throughput wait-for-snapshot-recovery 4.18181e+07 4.17547e+07 -63396 byte/s
Max Throughput wait-for-snapshot-recovery 4.18181e+07 4.17547e+07 -63396 byte/s
100th percentile latency wait-for-snapshot-recovery 610460 611692 1232.56 ms
100th percentile service time wait-for-snapshot-recovery 610460 611692 1232.56 ms
error rate wait-for-snapshot-recovery 0 0 0 %
Min Throughput wait-until-merges-finish 137.015 130.729 -6.28619 ops/s
Mean Throughput wait-until-merges-finish 137.015 130.729 -6.28619 ops/s
Median Throughput wait-until-merges-finish 137.015 130.729 -6.28619 ops/s
Max Throughput wait-until-merges-finish 137.015 130.729 -6.28619 ops/s
100th percentile latency wait-until-merges-finish 7.00354 7.35674 0.3532 ms
100th percentile service time wait-until-merges-finish 7.00354 7.35674 0.3532 ms
error rate wait-until-merges-finish 0 0 0 %
Min Throughput default 2.00525 2.00533 8e-05 ops/s
Mean Throughput default 2.00636 2.00647 0.00011 ops/s
Median Throughput default 2.00627 2.00638 0.00011 ops/s
Max Throughput default 2.0078 2.00795 0.00015 ops/s
50th percentile latency default 6.73011 7.5743 0.8442 ms
90th percentile latency default 7.13471 8.02165 0.88694 ms
99th percentile latency default 8.2776 8.57136 0.29376 ms
100th percentile latency default 8.62818 8.79856 0.17038 ms
50th percentile service time default 5.41423 6.18253 0.7683 ms
90th percentile service time default 5.70265 6.54393 0.84128 ms
99th percentile service time default 6.98533 7.42754 0.44221 ms
100th percentile service time default 7.7062 7.54255 -0.16365 ms
error rate default 0 0 0 %
Min Throughput desc_sort_timestamp 2.00543 2.00539 -3e-05 ops/s
Mean Throughput desc_sort_timestamp 2.00658 2.00655 -4e-05 ops/s
Median Throughput desc_sort_timestamp 2.00649 2.00647 -3e-05 ops/s
Max Throughput desc_sort_timestamp 2.00809 2.00804 -5e-05 ops/s
50th percentile latency desc_sort_timestamp 8.56683 8.95519 0.38836 ms
90th percentile latency desc_sort_timestamp 8.98329 9.52141 0.53812 ms
99th percentile latency desc_sort_timestamp 10.5496 11.8085 1.25889 ms
100th percentile latency desc_sort_timestamp 11.4199 12.5525 1.13262 ms
50th percentile service time desc_sort_timestamp 7.16819 7.57348 0.40529 ms
90th percentile service time desc_sort_timestamp 7.51423 7.93324 0.41901 ms
99th percentile service time desc_sort_timestamp 9.21127 10.3744 1.16311 ms
100th percentile service time desc_sort_timestamp 10.2755 10.8467 0.5712 ms
error rate desc_sort_timestamp 0 0 0 %
Min Throughput asc_sort_timestamp 2.00601 2.00601 0 ops/s
Mean Throughput asc_sort_timestamp 2.0073 2.0073 0 ops/s
Median Throughput asc_sort_timestamp 2.0072 2.0072 -0 ops/s
Max Throughput asc_sort_timestamp 2.00895 2.00897 2e-05 ops/s
50th percentile latency asc_sort_timestamp 9.18773 9.57569 0.38796 ms
90th percentile latency asc_sort_timestamp 9.69318 10.0051 0.31187 ms
99th percentile latency asc_sort_timestamp 22.2412 21.7681 -0.47306 ms
100th percentile latency asc_sort_timestamp 32.191 31.0857 -1.10533 ms
50th percentile service time asc_sort_timestamp 7.85503 8.20517 0.35014 ms
90th percentile service time asc_sort_timestamp 8.13751 8.47968 0.34217 ms
99th percentile service time asc_sort_timestamp 20.7041 20.5245 -0.17967 ms
100th percentile service time asc_sort_timestamp 30.3983 30.1312 -0.26711 ms
error rate asc_sort_timestamp 0 0 0 %
Min Throughput desc_sort_with_after_timestamp 2.00398 2.00399 1e-05 ops/s
Mean Throughput desc_sort_with_after_timestamp 2.00484 2.00484 1e-05 ops/s
Median Throughput desc_sort_with_after_timestamp 2.00477 2.00477 -0 ops/s
Max Throughput desc_sort_with_after_timestamp 2.00593 2.00596 2e-05 ops/s
50th percentile latency desc_sort_with_after_timestamp 122.295 122.792 0.49744 ms
90th percentile latency desc_sort_with_after_timestamp 125.215 124.6 -0.61528 ms
99th percentile latency desc_sort_with_after_timestamp 136.168 134.839 -1.32908 ms
100th percentile latency desc_sort_with_after_timestamp 137.838 135.267 -2.57147 ms
50th percentile service time desc_sort_with_after_timestamp 120.973 121.477 0.50426 ms
90th percentile service time desc_sort_with_after_timestamp 124.047 123.382 -0.66447 ms
99th percentile service time desc_sort_with_after_timestamp 135.193 133.694 -1.49805 ms
100th percentile service time desc_sort_with_after_timestamp 136.956 133.752 -3.20398 ms
error rate desc_sort_with_after_timestamp 0 0 0 %
Min Throughput asc_sort_with_after_timestamp 2.00319 2.00337 0.00018 ops/s
Mean Throughput asc_sort_with_after_timestamp 2.00386 2.00408 0.00022 ops/s
Median Throughput asc_sort_with_after_timestamp 2.0038 2.00402 0.00022 ops/s
Max Throughput asc_sort_with_after_timestamp 2.00474 2.005 0.00026 ops/s
50th percentile latency asc_sort_with_after_timestamp 163.451 165.099 1.64759 ms
90th percentile latency asc_sort_with_after_timestamp 169.396 171.205 1.80822 ms
99th percentile latency asc_sort_with_after_timestamp 192.512 199.147 6.63484 ms
100th percentile latency asc_sort_with_after_timestamp 194.177 207.054 12.8765 ms
50th percentile service time asc_sort_with_after_timestamp 162.221 163.956 1.73545 ms
90th percentile service time asc_sort_with_after_timestamp 168.336 169.881 1.5451 ms
99th percentile service time asc_sort_with_after_timestamp 190.979 198.274 7.29535 ms
100th percentile service time asc_sort_with_after_timestamp 192.561 206.375 13.8135 ms
error rate asc_sort_with_after_timestamp 0 0 0 %
Min Throughput desc_sort_timestamp_can_match_shortcut 2.00545 2.00575 0.0003 ops/s
Mean Throughput desc_sort_timestamp_can_match_shortcut 2.00662 2.00698 0.00036 ops/s
Median Throughput desc_sort_timestamp_can_match_shortcut 2.00653 2.00688 0.00035 ops/s
Max Throughput desc_sort_timestamp_can_match_shortcut 2.00813 2.00856 0.00043 ops/s
50th percentile latency desc_sort_timestamp_can_match_shortcut 6.79796 7.11217 0.31421 ms
90th percentile latency desc_sort_timestamp_can_match_shortcut 7.2031 7.53979 0.33669 ms
99th percentile latency desc_sort_timestamp_can_match_shortcut 8.02454 8.42644 0.40191 ms
100th percentile latency desc_sort_timestamp_can_match_shortcut 8.31048 8.93196 0.62148 ms
50th percentile service time desc_sort_timestamp_can_match_shortcut 5.41922 5.81767 0.39845 ms
90th percentile service time desc_sort_timestamp_can_match_shortcut 5.59489 5.97752 0.38263 ms
99th percentile service time desc_sort_timestamp_can_match_shortcut 7.03826 6.82851 -0.20975 ms
100th percentile service time desc_sort_timestamp_can_match_shortcut 7.25879 7.31219 0.0534 ms
error rate desc_sort_timestamp_can_match_shortcut 0 0 0 %
Min Throughput desc_sort_timestamp_no_can_match_shortcut 2.00653 2.00652 -1e-05 ops/s
Mean Throughput desc_sort_timestamp_no_can_match_shortcut 2.00793 2.00791 -2e-05 ops/s
Median Throughput desc_sort_timestamp_no_can_match_shortcut 2.00782 2.00781 -2e-05 ops/s
Max Throughput desc_sort_timestamp_no_can_match_shortcut 2.00974 2.00972 -2e-05 ops/s
50th percentile latency desc_sort_timestamp_no_can_match_shortcut 6.36225 6.93256 0.5703 ms
90th percentile latency desc_sort_timestamp_no_can_match_shortcut 6.54609 7.31767 0.77158 ms
99th percentile latency desc_sort_timestamp_no_can_match_shortcut 7.58997 8.50074 0.91077 ms
100th percentile latency desc_sort_timestamp_no_can_match_shortcut 7.73689 8.55393 0.81705 ms
50th percentile service time desc_sort_timestamp_no_can_match_shortcut 5.10929 5.56099 0.4517 ms
90th percentile service time desc_sort_timestamp_no_can_match_shortcut 5.1901 5.71421 0.52412 ms
99th percentile service time desc_sort_timestamp_no_can_match_shortcut 6.44588 7.07603 0.63015 ms
100th percentile service time desc_sort_timestamp_no_can_match_shortcut 6.50571 7.11352 0.60781 ms
error rate desc_sort_timestamp_no_can_match_shortcut 0 0 0 %
Min Throughput asc_sort_timestamp_can_match_shortcut 2.0063 2.00631 2e-05 ops/s
Mean Throughput asc_sort_timestamp_can_match_shortcut 2.00765 2.00766 1e-05 ops/s
Median Throughput asc_sort_timestamp_can_match_shortcut 2.00754 2.00755 0 ops/s
Max Throughput asc_sort_timestamp_can_match_shortcut 2.00939 2.00939 1e-05 ops/s
50th percentile latency asc_sort_timestamp_can_match_shortcut 8.16006 8.73935 0.5793 ms
90th percentile latency asc_sort_timestamp_can_match_shortcut 8.57171 9.09745 0.52574 ms
99th percentile latency asc_sort_timestamp_can_match_shortcut 8.69562 9.38952 0.69389 ms
100th percentile latency asc_sort_timestamp_can_match_shortcut 8.7277 9.48329 0.7556 ms
50th percentile service time asc_sort_timestamp_can_match_shortcut 6.89448 7.42932 0.53484 ms
90th percentile service time asc_sort_timestamp_can_match_shortcut 6.99883 7.5973 0.59847 ms
99th percentile service time asc_sort_timestamp_can_match_shortcut 7.27929 8.06976 0.79047 ms
100th percentile service time asc_sort_timestamp_can_match_shortcut 7.46789 8.27526 0.80737 ms
error rate asc_sort_timestamp_can_match_shortcut 0 0 0 %
Min Throughput asc_sort_timestamp_no_can_match_shortcut 2.00653 2.00652 -0 ops/s
Mean Throughput asc_sort_timestamp_no_can_match_shortcut 2.00793 2.00792 -1e-05 ops/s
Median Throughput asc_sort_timestamp_no_can_match_shortcut 2.00782 2.00781 -1e-05 ops/s
Max Throughput asc_sort_timestamp_no_can_match_shortcut 2.00973 2.00972 -0 ops/s
50th percentile latency asc_sort_timestamp_no_can_match_shortcut 8.17191 8.6722 0.50028 ms
90th percentile latency asc_sort_timestamp_no_can_match_shortcut 8.67986 9.04827 0.36841 ms
99th percentile latency asc_sort_timestamp_no_can_match_shortcut 9.77823 11.3947 1.61646 ms
100th percentile latency asc_sort_timestamp_no_can_match_shortcut 10.3325 11.3989 1.06634 ms
50th percentile service time asc_sort_timestamp_no_can_match_shortcut 6.89002 7.34276 0.45274 ms
90th percentile service time asc_sort_timestamp_no_can_match_shortcut 7.02178 7.51366 0.49188 ms
99th percentile service time asc_sort_timestamp_no_can_match_shortcut 8.83536 9.74875 0.91339 ms
100th percentile service time asc_sort_timestamp_no_can_match_shortcut 9.39151 9.85451 0.463 ms
error rate asc_sort_timestamp_no_can_match_shortcut 0 0 0 %
Min Throughput term 2.00614 2.00627 0.00013 ops/s
Mean Throughput term 2.00745 2.00761 0.00016 ops/s
Median Throughput term 2.00736 2.00751 0.00015 ops/s
Max Throughput term 2.00916 2.00934 0.00018 ops/s
50th percentile latency term 5.70101 6.03771 0.3367 ms
90th percentile latency term 6.08898 6.52972 0.44074 ms
99th percentile latency term 6.77311 7.12676 0.35365 ms
100th percentile latency term 6.97074 7.1556 0.18486 ms
50th percentile service time term 4.33881 4.7415 0.40269 ms
90th percentile service time term 4.43793 4.90556 0.46763 ms
99th percentile service time term 5.12519 5.61628 0.49109 ms
100th percentile service time term 5.32135 5.68815 0.36679 ms
error rate term 0 0 0 %
Min Throughput multi_terms-keyword 1.03695 1.29051 0.25355 ops/s
Mean Throughput multi_terms-keyword 1.03868 1.29349 0.25481 ops/s
Median Throughput multi_terms-keyword 1.03878 1.29372 0.25494 ops/s
Max Throughput multi_terms-keyword 1.04009 1.29599 0.2559 ops/s
50th percentile latency multi_terms-keyword 115737 68221.8 -47515.4 ms
90th percentile latency multi_terms-keyword 133951 78815.9 -55135 ms
99th percentile latency multi_terms-keyword 138048 81197.3 -56850.6 ms
100th percentile latency multi_terms-keyword 138276 81328.2 -56948 ms
50th percentile service time multi_terms-keyword 954.206 763.039 -191.167 ms
90th percentile service time multi_terms-keyword 959.534 769.465 -190.069 ms
99th percentile service time multi_terms-keyword 976.033 787.331 -188.702 ms
100th percentile service time multi_terms-keyword 988.096 795.431 -192.664 ms
error rate multi_terms-keyword 0 0 0 %
Min Throughput keyword-terms 2.00415 2.0043 0.00015 ops/s
Mean Throughput keyword-terms 2.00503 2.00522 0.00018 ops/s
Median Throughput keyword-terms 2.00496 2.00515 0.00018 ops/s
Max Throughput keyword-terms 2.00617 2.0064 0.00022 ops/s
50th percentile latency keyword-terms 47.5806 33.7907 -13.7899 ms
90th percentile latency keyword-terms 48.5016 34.2378 -14.2638 ms
99th percentile latency keyword-terms 49.9017 35.8126 -14.0891 ms
100th percentile latency keyword-terms 49.9841 36.0975 -13.8865 ms
50th percentile service time keyword-terms 46.179 32.4724 -13.7066 ms
90th percentile service time keyword-terms 47.3018 32.7402 -14.5617 ms
99th percentile service time keyword-terms 48.511 34.1129 -14.3981 ms
100th percentile service time keyword-terms 48.74 34.4157 -14.3242 ms
error rate keyword-terms 0 0 0 %
Min Throughput keyword-terms-low-cardinality 2.00603 2.00621 0.00018 ops/s
Mean Throughput keyword-terms-low-cardinality 2.00732 2.00753 0.00021 ops/s
Median Throughput keyword-terms-low-cardinality 2.00722 2.00742 0.0002 ops/s
Max Throughput keyword-terms-low-cardinality 2.00899 2.00925 0.00026 ops/s
50th percentile latency keyword-terms-low-cardinality 44.9705 31.6816 -13.2888 ms
90th percentile latency keyword-terms-low-cardinality 45.629 32.2561 -13.3729 ms
99th percentile latency keyword-terms-low-cardinality 49.7049 36.4739 -13.2309 ms
100th percentile latency keyword-terms-low-cardinality 52.3789 39.7586 -12.6202 ms
50th percentile service time keyword-terms-low-cardinality 43.6098 30.3289 -13.2808 ms
90th percentile service time keyword-terms-low-cardinality 44.3643 30.648 -13.7163 ms
99th percentile service time keyword-terms-low-cardinality 48.5149 35.4764 -13.0385 ms
100th percentile service time keyword-terms-low-cardinality 50.8893 38.89 -11.9994 ms
error rate keyword-terms-low-cardinality 0 0 0 %
Min Throughput composite-terms 1.99601 2.00038 0.00437 ops/s
Mean Throughput composite-terms 1.99674 2.00046 0.00372 ops/s
Median Throughput composite-terms 1.99679 2.00045 0.00366 ops/s
Max Throughput composite-terms 1.99731 2.00056 0.00326 ops/s
50th percentile latency composite-terms 235.751 236.841 1.08926 ms
90th percentile latency composite-terms 242.691 242.985 0.29369 ms
99th percentile latency composite-terms 247.143 250.747 3.60434 ms
100th percentile latency composite-terms 248.158 253.668 5.50969 ms
50th percentile service time composite-terms 234.574 235.604 1.03 ms
90th percentile service time composite-terms 241.645 241.611 -0.03328 ms
99th percentile service time composite-terms 246.368 249.323 2.95546 ms
100th percentile service time composite-terms 247.549 252.113 4.56342 ms
error rate composite-terms 0 0 0 %
Min Throughput composite_terms-keyword 2.00095 2.00113 0.00018 ops/s
Mean Throughput composite_terms-keyword 2.00115 2.00137 0.00022 ops/s
Median Throughput composite_terms-keyword 2.00113 2.00135 0.00023 ops/s
Max Throughput composite_terms-keyword 2.00142 2.00168 0.00026 ops/s
50th percentile latency composite_terms-keyword 394.557 374.208 -20.3493 ms
90th percentile latency composite_terms-keyword 401.325 384.864 -16.4608 ms
99th percentile latency composite_terms-keyword 420.143 394.339 -25.8045 ms
100th percentile latency composite_terms-keyword 424.298 395.076 -29.2219 ms
50th percentile service time composite_terms-keyword 393.435 373.205 -20.2294 ms
90th percentile service time composite_terms-keyword 400.252 384.036 -16.2161 ms
99th percentile service time composite_terms-keyword 418.65 393.261 -25.3889 ms
100th percentile service time composite_terms-keyword 422.422 393.71 -28.712 ms
error rate composite_terms-keyword 0 0 0 %
Min Throughput composite-date_histogram-daily 2.00617 2.00618 1e-05 ops/s
Mean Throughput composite-date_histogram-daily 2.00748 2.0075 2e-05 ops/s
Median Throughput composite-date_histogram-daily 2.00738 2.00739 2e-05 ops/s
Max Throughput composite-date_histogram-daily 2.00919 2.00921 2e-05 ops/s
50th percentile latency composite-date_histogram-daily 4.9633 4.67259 -0.29071 ms
90th percentile latency composite-date_histogram-daily 5.43607 5.04709 -0.38898 ms
99th percentile latency composite-date_histogram-daily 5.70153 5.37851 -0.32303 ms
100th percentile latency composite-date_histogram-daily 5.74735 5.58268 -0.16466 ms
50th percentile service time composite-date_histogram-daily 3.63906 3.36909 -0.26997 ms
90th percentile service time composite-date_histogram-daily 3.74141 3.49775 -0.24366 ms
99th percentile service time composite-date_histogram-daily 4.1422 3.93302 -0.20918 ms
100th percentile service time composite-date_histogram-daily 4.15166 4.1869 0.03524 ms
error rate composite-date_histogram-daily 0 0 0 %
Min Throughput range 2.00522 2.00545 0.00023 ops/s
Mean Throughput range 2.00634 2.00661 0.00027 ops/s
Median Throughput range 2.00625 2.00651 0.00026 ops/s
Max Throughput range 2.00779 2.00811 0.00032 ops/s
50th percentile latency range 12.4066 12.9849 0.57825 ms
90th percentile latency range 12.8134 13.4311 0.61767 ms
99th percentile latency range 12.8883 13.6214 0.73317 ms
100th percentile latency range 12.8919 13.6477 0.7558 ms
50th percentile service time range 10.9845 11.7658 0.78131 ms
90th percentile service time range 11.0787 11.9261 0.84733 ms
99th percentile service time range 11.3923 12.0255 0.63321 ms
100th percentile service time range 11.512 12.0358 0.52378 ms
error rate range 0 0 0 %
Min Throughput range-numeric 2.00656 2.00655 -2e-05 ops/s
Mean Throughput range-numeric 2.00797 2.00795 -3e-05 ops/s
Median Throughput range-numeric 2.00786 2.00784 -1e-05 ops/s
Max Throughput range-numeric 2.00978 2.00977 -2e-05 ops/s
50th percentile latency range-numeric 4.14349 3.85923 -0.28426 ms
90th percentile latency range-numeric 4.54719 4.23686 -0.31033 ms
99th percentile latency range-numeric 4.73184 4.47788 -0.25396 ms
100th percentile latency range-numeric 4.75717 4.48357 -0.27361 ms
50th percentile service time range-numeric 2.80989 2.56128 -0.24861 ms
90th percentile service time range-numeric 2.96246 2.71886 -0.2436 ms
99th percentile service time range-numeric 3.05957 2.81225 -0.24732 ms
100th percentile service time range-numeric 3.06755 2.81281 -0.25474 ms
error rate range-numeric 0 0 0 %
Min Throughput keyword-in-range 2.00599 2.00596 -3e-05 ops/s
Mean Throughput keyword-in-range 2.00726 2.00723 -3e-05 ops/s
Median Throughput keyword-in-range 2.00716 2.00713 -3e-05 ops/s
Max Throughput keyword-in-range 2.00893 2.00889 -4e-05 ops/s
50th percentile latency keyword-in-range 16.3646 16.6286 0.26399 ms
90th percentile latency keyword-in-range 16.9576 17.123 0.16548 ms
99th percentile latency keyword-in-range 19.1624 17.5188 -1.64357 ms
100th percentile latency keyword-in-range 20.8114 17.6283 -3.18306 ms
50th percentile service time keyword-in-range 14.9859 15.2755 0.28959 ms
90th percentile service time keyword-in-range 15.3243 15.5478 0.22349 ms
99th percentile service time keyword-in-range 17.7596 16.2922 -1.46732 ms
100th percentile service time keyword-in-range 19.7139 16.5801 -3.13379 ms
error rate keyword-in-range 0 0 0 %
Min Throughput date_histogram_hourly_agg 1.99967 2.00516 0.00549 ops/s
Mean Throughput date_histogram_hourly_agg 1.99973 2.00626 0.00653 ops/s
Median Throughput date_histogram_hourly_agg 1.99973 2.00617 0.00644 ops/s
Max Throughput date_histogram_hourly_agg 1.99978 2.00768 0.00791 ops/s
50th percentile latency date_histogram_hourly_agg 8.42858 8.7641 0.33552 ms
90th percentile latency date_histogram_hourly_agg 8.71435 9.22995 0.5156 ms
99th percentile latency date_histogram_hourly_agg 8.94212 11.2254 2.28329 ms
100th percentile latency date_histogram_hourly_agg 8.96929 11.9233 2.95399 ms
50th percentile service time date_histogram_hourly_agg 7.05548 7.40706 0.35158 ms
90th percentile service time date_histogram_hourly_agg 7.2182 7.56204 0.34384 ms
99th percentile service time date_histogram_hourly_agg 7.5615 9.77385 2.21236 ms
100th percentile service time date_histogram_hourly_agg 7.65018 10.4651 2.81489 ms
error rate date_histogram_hourly_agg 0 0 0 %
Min Throughput date_histogram_minute_agg 1.99791 2.00009 0.00218 ops/s
Mean Throughput date_histogram_minute_agg 1.99828 2.00012 0.00183 ops/s
Median Throughput date_histogram_minute_agg 1.99831 2.00011 0.00181 ops/s
Max Throughput date_histogram_minute_agg 1.99859 2.00014 0.00156 ops/s
50th percentile latency date_histogram_minute_agg 39.8657 42.9836 3.11793 ms
90th percentile latency date_histogram_minute_agg 40.8307 44.4922 3.66158 ms
99th percentile latency date_histogram_minute_agg 45.9984 45.6343 -0.36405 ms
100th percentile latency date_histogram_minute_agg 46.3285 46.1181 -0.21037 ms
50th percentile service time date_histogram_minute_agg 38.4904 41.9515 3.46111 ms
90th percentile service time date_histogram_minute_agg 39.5255 43.244 3.71847 ms
99th percentile service time date_histogram_minute_agg 44.7203 44.4964 -0.22397 ms
100th percentile service time date_histogram_minute_agg 45.3164 44.805 -0.51135 ms
error rate date_histogram_minute_agg 0 0 0 %
Min Throughput scroll 48.0491 45.5894 -2.45971 pages/s
Mean Throughput scroll 48.1373 45.6722 -2.46505 pages/s
Median Throughput scroll 48.1518 45.6712 -2.48056 pages/s
Max Throughput scroll 48.2313 45.768 -2.46328 pages/s
50th percentile latency scroll 5156.11 12155.6 6999.51 ms
90th percentile latency scroll 5758.89 13762.8 8003.94 ms
99th percentile latency scroll 5837.63 14127.7 8290.06 ms
100th percentile latency scroll 5841.8 14146.9 8305.15 ms
50th percentile service time scroll 504.794 532.789 27.9956 ms
90th percentile service time scroll 514.426 540.98 26.5536 ms
99th percentile service time scroll 539.572 567.625 28.0533 ms
100th percentile service time scroll 544.909 568.204 23.2954 ms
error rate scroll 0 0 0 %
Min Throughput query-string-on-message 1.99933 1.99893 -0.00039 ops/s
Mean Throughput query-string-on-message 1.99946 1.99914 -0.00032 ops/s
Median Throughput query-string-on-message 1.99946 1.99915 -0.00031 ops/s
Max Throughput query-string-on-message 1.99956 1.99928 -0.00027 ops/s
50th percentile latency query-string-on-message 150.279 152.082 1.80361 ms
90th percentile latency query-string-on-message 150.896 152.772 1.8755 ms
99th percentile latency query-string-on-message 153.853 157.063 3.20977 ms
100th percentile latency query-string-on-message 156.068 158.984 2.91551 ms
50th percentile service time query-string-on-message 148.162 149.936 1.774 ms
90th percentile service time query-string-on-message 148.522 150.387 1.86485 ms
99th percentile service time query-string-on-message 151.394 154.656 3.26237 ms
100th percentile service time query-string-on-message 153.632 156.581 2.94972 ms
error rate query-string-on-message 0 0 0 %
Min Throughput query-string-on-message-filtered 2.00485 2.00486 1e-05 ops/s
Mean Throughput query-string-on-message-filtered 2.00588 2.00589 1e-05 ops/s
Median Throughput query-string-on-message-filtered 2.0058 2.00581 1e-05 ops/s
Max Throughput query-string-on-message-filtered 2.00722 2.00723 0 ops/s
50th percentile latency query-string-on-message-filtered 30.6863 31.1115 0.42516 ms
90th percentile latency query-string-on-message-filtered 31.1635 31.6745 0.51095 ms
99th percentile latency query-string-on-message-filtered 37.9118 34.2052 -3.70654 ms
100th percentile latency query-string-on-message-filtered 38.4977 36.1405 -2.35727 ms
50th percentile service time query-string-on-message-filtered 29.3163 29.8646 0.54832 ms
90th percentile service time query-string-on-message-filtered 29.7927 30.2276 0.43488 ms
99th percentile service time query-string-on-message-filtered 36.6264 33.0771 -3.54929 ms
100th percentile service time query-string-on-message-filtered 36.847 35.25 -1.59705 ms
error rate query-string-on-message-filtered 0 0 0 %
Min Throughput query-string-on-message-filtered-sorted-num 2.00532 2.00532 -0 ops/s
Mean Throughput query-string-on-message-filtered-sorted-num 2.00646 2.00645 -1e-05 ops/s
Median Throughput query-string-on-message-filtered-sorted-num 2.00638 2.00636 -1e-05 ops/s
Max Throughput query-string-on-message-filtered-sorted-num 2.00794 2.00792 -2e-05 ops/s
50th percentile latency query-string-on-message-filtered-sorted-num 28.8127 29.5921 0.7794 ms
90th percentile latency query-string-on-message-filtered-sorted-num 29.5929 30.3486 0.75567 ms
99th percentile latency query-string-on-message-filtered-sorted-num 32.4051 37.456 5.05098 ms
100th percentile latency query-string-on-message-filtered-sorted-num 33.6976 38.7919 5.09432 ms
50th percentile service time query-string-on-message-filtered-sorted-num 26.8814 28.2713 1.38991 ms
90th percentile service time query-string-on-message-filtered-sorted-num 27.1426 28.769 1.62647 ms
99th percentile service time query-string-on-message-filtered-sorted-num 30.5496 35.8522 5.30264 ms
100th percentile service time query-string-on-message-filtered-sorted-num 31.4908 37.241 5.75014 ms
error rate query-string-on-message-filtered-sorted-num 0 0 0 %
Min Throughput sort_keyword_can_match_shortcut 2.00643 2.00644 1e-05 ops/s
Mean Throughput sort_keyword_can_match_shortcut 2.00781 2.00781 1e-05 ops/s
Median Throughput sort_keyword_can_match_shortcut 2.0077 2.00771 1e-05 ops/s
Max Throughput sort_keyword_can_match_shortcut 2.00958 2.00959 1e-05 ops/s
50th percentile latency sort_keyword_can_match_shortcut 5.44347 5.25623 -0.18723 ms
90th percentile latency sort_keyword_can_match_shortcut 5.83099 5.65831 -0.17269 ms
99th percentile latency sort_keyword_can_match_shortcut 6.40137 5.75111 -0.65025 ms
100th percentile latency sort_keyword_can_match_shortcut 6.72836 5.76741 -0.96095 ms
50th percentile service time sort_keyword_can_match_shortcut 4.01872 3.88038 -0.13833 ms
90th percentile service time sort_keyword_can_match_shortcut 4.34414 3.9761 -0.36804 ms
99th percentile service time sort_keyword_can_match_shortcut 4.59893 4.17092 -0.42801 ms
100th percentile service time sort_keyword_can_match_shortcut 4.64225 4.29676 -0.34549 ms
error rate sort_keyword_can_match_shortcut 0 0 0 %
Min Throughput sort_keyword_no_can_match_shortcut 2.00658 2.00658 0 ops/s
Mean Throughput sort_keyword_no_can_match_shortcut 2.00798 2.00797 -1e-05 ops/s
Median Throughput sort_keyword_no_can_match_shortcut 2.00787 2.00786 -1e-05 ops/s
Max Throughput sort_keyword_no_can_match_shortcut 2.0098 2.00979 -1e-05 ops/s
50th percentile latency sort_keyword_no_can_match_shortcut 4.91839 5.20126 0.28287 ms
90th percentile latency sort_keyword_no_can_match_shortcut 5.29585 5.6481 0.35225 ms
99th percentile latency sort_keyword_no_can_match_shortcut 5.47452 6.06545 0.59093 ms
100th percentile latency sort_keyword_no_can_match_shortcut 5.47629 6.26038 0.78409 ms
50th percentile service time sort_keyword_no_can_match_shortcut 3.57174 3.90553 0.33378 ms
90th percentile service time sort_keyword_no_can_match_shortcut 3.64008 4.00831 0.36823 ms
99th percentile service time sort_keyword_no_can_match_shortcut 3.72113 4.50217 0.78104 ms
100th percentile service time sort_keyword_no_can_match_shortcut 3.75286 4.71283 0.95997 ms
error rate sort_keyword_no_can_match_shortcut 0 0 0 %
Min Throughput sort_numeric_desc 2.00585 2.00596 0.00011 ops/s
Mean Throughput sort_numeric_desc 2.00711 2.00723 0.00012 ops/s
Median Throughput sort_numeric_desc 2.00701 2.00713 0.00012 ops/s
Max Throughput sort_numeric_desc 2.00873 2.00887 0.00014 ops/s
50th percentile latency sort_numeric_desc 6.11735 6.51653 0.39918 ms
90th percentile latency sort_numeric_desc 6.87426 6.95248 0.07822 ms
99th percentile latency sort_numeric_desc 7.3961 7.1387 -0.2574 ms
100th percentile latency sort_numeric_desc 7.65662 7.16735 -0.48927 ms
50th percentile service time sort_numeric_desc 5.10566 5.23234 0.12667 ms
90th percentile service time sort_numeric_desc 5.16216 5.31016 0.14799 ms
99th percentile service time sort_numeric_desc 5.40533 5.41751 0.01217 ms
100th percentile service time sort_numeric_desc 5.57707 5.41923 -0.15785 ms
error rate sort_numeric_desc 0 0 0 %
Min Throughput sort_numeric_asc 2.00653 2.00653 -0 ops/s
Mean Throughput sort_numeric_asc 2.00792 2.00792 0 ops/s
Median Throughput sort_numeric_asc 2.00781 2.00781 -0 ops/s
Max Throughput sort_numeric_asc 2.00973 2.00973 0 ops/s
50th percentile latency sort_numeric_asc 5.97256 6.06885 0.0963 ms
90th percentile latency sort_numeric_asc 6.38114 6.48208 0.10095 ms
99th percentile latency sort_numeric_asc 6.5454 6.60828 0.06287 ms
100th percentile latency sort_numeric_asc 6.55571 6.69219 0.13648 ms
50th percentile service time sort_numeric_asc 4.70806 4.7246 0.01654 ms
90th percentile service time sort_numeric_asc 4.75298 4.81149 0.0585 ms
99th percentile service time sort_numeric_asc 4.81476 5.01783 0.20307 ms
100th percentile service time sort_numeric_asc 4.82696 5.05299 0.22603 ms
error rate sort_numeric_asc 0 0 0 %
Min Throughput sort_numeric_desc_with_match 2.0066 2.00656 -4e-05 ops/s
Mean Throughput sort_numeric_desc_with_match 2.008 2.00796 -4e-05 ops/s
Median Throughput sort_numeric_desc_with_match 2.0079 2.00785 -5e-05 ops/s
Max Throughput sort_numeric_desc_with_match 2.00983 2.00978 -6e-05 ops/s
50th percentile latency sort_numeric_desc_with_match 3.59234 3.63474 0.04239 ms
90th percentile latency sort_numeric_desc_with_match 3.9732 4.05983 0.08663 ms
99th percentile latency sort_numeric_desc_with_match 4.11822 4.22908 0.11086 ms
100th percentile latency sort_numeric_desc_with_match 4.14085 4.25399 0.11314 ms
50th percentile service time sort_numeric_desc_with_match 2.25231 2.35013 0.09781 ms
90th percentile service time sort_numeric_desc_with_match 2.31618 2.41163 0.09545 ms
99th percentile service time sort_numeric_desc_with_match 2.4208 2.50074 0.07994 ms
100th percentile service time sort_numeric_desc_with_match 2.45122 2.51193 0.06072 ms
error rate sort_numeric_desc_with_match 0 0 0 %
Min Throughput sort_numeric_asc_with_match 2.00658 2.00658 0 ops/s
Mean Throughput sort_numeric_asc_with_match 2.00799 2.00799 -0 ops/s
Median Throughput sort_numeric_asc_with_match 2.00787 2.00788 0 ops/s
Max Throughput sort_numeric_asc_with_match 2.00981 2.0098 -1e-05 ops/s
50th percentile latency sort_numeric_asc_with_match 4.04969 3.6372 -0.41249 ms
90th percentile latency sort_numeric_asc_with_match 4.43166 4.08057 -0.35109 ms
99th percentile latency sort_numeric_asc_with_match 4.59695 4.66611 0.06915 ms
100th percentile latency sort_numeric_asc_with_match 4.60263 5.04469 0.44207 ms
50th percentile service time sort_numeric_asc_with_match 2.73898 2.38088 -0.3581 ms
90th percentile service time sort_numeric_asc_with_match 2.78976 2.44092 -0.34884 ms
99th percentile service time sort_numeric_asc_with_match 2.86977 2.49383 -0.37594 ms
100th percentile service time sort_numeric_asc_with_match 2.89671 2.49469 -0.40202 ms
error rate sort_numeric_asc_with_match 0 0 0 %
Min Throughput range_field_conjunction_big_range_big_term_query 2.0066 2.00659 -0 ops/s
Mean Throughput range_field_conjunction_big_range_big_term_query 2.008 2.00799 -0 ops/s
Median Throughput range_field_conjunction_big_range_big_term_query 2.00789 2.00788 -1e-05 ops/s
Max Throughput range_field_conjunction_big_range_big_term_query 2.00982 2.00982 -0 ops/s
50th percentile latency range_field_conjunction_big_range_big_term_query 3.67149 3.82234 0.15085 ms
90th percentile latency range_field_conjunction_big_range_big_term_query 4.05243 4.26279 0.21036 ms
99th percentile latency range_field_conjunction_big_range_big_term_query 4.20028 4.43523 0.23495 ms
100th percentile latency range_field_conjunction_big_range_big_term_query 4.2063 4.46093 0.25463 ms
50th percentile service time range_field_conjunction_big_range_big_term_query 2.34749 2.50088 0.15339 ms
90th percentile service time range_field_conjunction_big_range_big_term_query 2.39867 2.57292 0.17426 ms
99th percentile service time range_field_conjunction_big_range_big_term_query 2.51322 2.69067 0.17745 ms
100th percentile service time range_field_conjunction_big_range_big_term_query 2.55465 2.70315 0.14849 ms
error rate range_field_conjunction_big_range_big_term_query 0 0 0 %
Min Throughput range_field_disjunction_big_range_small_term_query 2.00657 2.00657 -0 ops/s
Mean Throughput range_field_disjunction_big_range_small_term_query 2.00798 2.00798 -1e-05 ops/s
Median Throughput range_field_disjunction_big_range_small_term_query 2.00788 2.00786 -2e-05 ops/s
Max Throughput range_field_disjunction_big_range_small_term_query 2.00981 2.0098 -1e-05 ops/s
50th percentile latency range_field_disjunction_big_range_small_term_query 3.5793 3.76628 0.18698 ms
90th percentile latency range_field_disjunction_big_range_small_term_query 3.98188 4.15289 0.17101 ms
99th percentile latency range_field_disjunction_big_range_small_term_query 4.22422 4.46544 0.24122 ms
100th percentile latency range_field_disjunction_big_range_small_term_query 4.28552 4.4695 0.18398 ms
50th percentile service time range_field_disjunction_big_range_small_term_query 2.25736 2.4636 0.20624 ms
90th percentile service time range_field_disjunction_big_range_small_term_query 2.31977 2.57427 0.25451 ms
99th percentile service time range_field_disjunction_big_range_small_term_query 2.42027 2.69722 0.27695 ms
100th percentile service time range_field_disjunction_big_range_small_term_query 2.46729 2.70215 0.23486 ms
error rate range_field_disjunction_big_range_small_term_query 0 0 0 %
Min Throughput range_field_conjunction_small_range_small_term_query 2.00659 2.00659 0 ops/s
Mean Throughput range_field_conjunction_small_range_small_term_query 2.008 2.008 -0 ops/s
Median Throughput range_field_conjunction_small_range_small_term_query 2.00789 2.00789 -0 ops/s
Max Throughput range_field_conjunction_small_range_small_term_query 2.00982 2.00981 -2e-05 ops/s
50th percentile latency range_field_conjunction_small_range_small_term_query 3.92161 3.6458 -0.27581 ms
90th percentile latency range_field_conjunction_small_range_small_term_query 4.30209 4.11981 -0.18228 ms
99th percentile latency range_field_conjunction_small_range_small_term_query 5.01109 4.30173 -0.70936 ms
100th percentile latency range_field_conjunction_small_range_small_term_query 5.21033 4.38079 -0.82954 ms
50th percentile service time range_field_conjunction_small_range_small_term_query 2.54447 2.40484 -0.13963 ms
90th percentile service time range_field_conjunction_small_range_small_term_query 2.60922 2.5259 -0.08332 ms
99th percentile service time range_field_conjunction_small_range_small_term_query 2.77936 2.65932 -0.12005 ms
100th percentile service time range_field_conjunction_small_range_small_term_query 2.85411 2.68812 -0.16599 ms
error rate range_field_conjunction_small_range_small_term_query 0 0 0 %
Min Throughput range_field_conjunction_small_range_big_term_query 2.0066 2.00658 -2e-05 ops/s
Mean Throughput range_field_conjunction_small_range_big_term_query 2.008 2.00799 -1e-05 ops/s
Median Throughput range_field_conjunction_small_range_big_term_query 2.00788 2.00788 -1e-05 ops/s
Max Throughput range_field_conjunction_small_range_big_term_query 2.00982 2.0098 -2e-05 ops/s
50th percentile latency range_field_conjunction_small_range_big_term_query 3.72574 3.81341 0.08767 ms
90th percentile latency range_field_conjunction_small_range_big_term_query 4.11184 4.17384 0.06201 ms
99th percentile latency range_field_conjunction_small_range_big_term_query 4.30773 4.3457 0.03796 ms
100th percentile latency range_field_conjunction_small_range_big_term_query 4.37638 4.41225 0.03587 ms
50th percentile service time range_field_conjunction_small_range_big_term_query 2.41296 2.47491 0.06195 ms
90th percentile service time range_field_conjunction_small_range_big_term_query 2.49109 2.58761 0.09652 ms
99th percentile service time range_field_conjunction_small_range_big_term_query 2.70546 2.71445 0.00898 ms
100th percentile service time range_field_conjunction_small_range_big_term_query 2.71535 2.7287 0.01336 ms
error rate range_field_conjunction_small_range_big_term_query 0 0 0 %
Min Throughput range-auto-date-histo 0.107621 0.102504 -0.00512 ops/s
Mean Throughput range-auto-date-histo 0.107678 0.102521 -0.00516 ops/s
Median Throughput range-auto-date-histo 0.107689 0.10252 -0.00517 ops/s
Max Throughput range-auto-date-histo 0.107715 0.102541 -0.00517 ops/s
50th percentile latency range-auto-date-histo 2.20077e+06 2.31866e+06 117890 ms
90th percentile latency range-auto-date-histo 2.55169e+06 2.68861e+06 136921 ms
99th percentile latency range-auto-date-histo 2.63067e+06 2.77173e+06 141062 ms
100th percentile latency range-auto-date-histo 2.63507e+06 2.77638e+06 141306 ms
50th percentile service time range-auto-date-histo 9255.63 9743.64 488.01 ms
90th percentile service time range-auto-date-histo 9339.87 9844.63 504.762 ms
99th percentile service time range-auto-date-histo 9565.74 10006.9 441.136 ms
100th percentile service time range-auto-date-histo 9567.12 10037.7 470.604 ms
error rate range-auto-date-histo 0 0 0 %
Min Throughput range-auto-date-histo-with-metrics 0.0429156 0.0433258 0.00041 ops/s
Mean Throughput range-auto-date-histo-with-metrics 0.0429226 0.0433324 0.00041 ops/s
Median Throughput range-auto-date-histo-with-metrics 0.0429214 0.0433328 0.00041 ops/s
Max Throughput range-auto-date-histo-with-metrics 0.0429303 0.0433419 0.00041 ops/s
50th percentile latency range-auto-date-histo-with-metrics 5.7115e+06 5.65528e+06 -56218.5 ms
90th percentile latency range-auto-date-histo-with-metrics 6.6242e+06 6.55945e+06 -64753.2 ms
99th percentile latency range-auto-date-histo-with-metrics 6.82952e+06 6.7628e+06 -66725.5 ms
100th percentile latency range-auto-date-histo-with-metrics 6.84088e+06 6.77405e+06 -66830 ms
50th percentile service time range-auto-date-histo-with-metrics 23280.2 23067.7 -212.543 ms
90th percentile service time range-auto-date-histo-with-metrics 23487 23261.3 -225.61 ms
99th percentile service time range-auto-date-histo-with-metrics 24183 23439.4 -743.622 ms
100th percentile service time range-auto-date-histo-with-metrics 24656.7 23456.6 -1200.06 ms
error rate range-auto-date-histo-with-metrics 0 0 0 %
Min Throughput range-agg-1 2.00645 2.00645 0 ops/s
Mean Throughput range-agg-1 2.00783 2.00783 -1e-05 ops/s
Median Throughput range-agg-1 2.00773 2.00772 -1e-05 ops/s
Max Throughput range-agg-1 2.00962 2.00961 -1e-05 ops/s
50th percentile latency range-agg-1 4.4688 4.03064 -0.43816 ms
90th percentile latency range-agg-1 4.83043 4.4614 -0.36903 ms
99th percentile latency range-agg-1 4.95776 4.89828 -0.05948 ms
100th percentile latency range-agg-1 4.98222 5.23666 0.25443 ms
50th percentile service time range-agg-1 3.08952 2.6955 -0.39402 ms
90th percentile service time range-agg-1 3.12939 2.75845 -0.37095 ms
99th percentile service time range-agg-1 3.30289 3.46238 0.15949 ms
100th percentile service time range-agg-1 3.36125 3.95363 0.59238 ms
error rate range-agg-1 0 0 0 %
Min Throughput range-agg-2 2.0066 2.00659 -1e-05 ops/s
Mean Throughput range-agg-2 2.008 2.00799 -1e-05 ops/s
Median Throughput range-agg-2 2.00789 2.00788 -2e-05 ops/s
Max Throughput range-agg-2 2.00982 2.00982 -0 ops/s
50th percentile latency range-agg-2 3.69389 4.23966 0.54577 ms
90th percentile latency range-agg-2 4.16367 4.63171 0.46803 ms
99th percentile latency range-agg-2 4.38044 4.71808 0.33764 ms
100th percentile latency range-agg-2 4.38334 4.73648 0.35314 ms
50th percentile service time range-agg-2 2.53417 2.90933 0.37516 ms
90th percentile service time range-agg-2 2.59973 2.97353 0.3738 ms
99th percentile service time range-agg-2 2.74794 3.27058 0.52264 ms
100th percentile service time range-agg-2 2.76482 3.4794 0.71458 ms
error rate range-agg-2 0 0 0 %
Min Throughput cardinality-agg-low 2.00387 2.00477 0.00089 ops/s
Mean Throughput cardinality-agg-low 2.0047 2.00577 0.00108 ops/s
Median Throughput cardinality-agg-low 2.00463 2.00569 0.00106 ops/s
Max Throughput cardinality-agg-low 2.00576 2.0071 0.00134 ops/s
50th percentile latency cardinality-agg-low 4.96107 5.34285 0.38177 ms
90th percentile latency cardinality-agg-low 5.3831 5.84538 0.46227 ms
99th percentile latency cardinality-agg-low 5.52643 5.91875 0.39232 ms
100th percentile latency cardinality-agg-low 5.595 5.92404 0.32904 ms
50th percentile service time cardinality-agg-low 3.6585 4.09082 0.43232 ms
90th percentile service time cardinality-agg-low 3.7333 4.20358 0.47027 ms
99th percentile service time cardinality-agg-low 4.00748 4.39625 0.38877 ms
100th percentile service time cardinality-agg-low 4.19735 4.42049 0.22314 ms
error rate cardinality-agg-low 0 0 0 %
Min Throughput cardinality-agg-high 0.393597 0.395371 0.00177 ops/s
Mean Throughput cardinality-agg-high 0.39371 0.39546 0.00175 ops/s
Median Throughput cardinality-agg-high 0.393699 0.395455 0.00176 ops/s
Max Throughput cardinality-agg-high 0.393844 0.395579 0.00174 ops/s
50th percentile latency cardinality-agg-high 511438 508580 -2858.19 ms
90th percentile latency cardinality-agg-high 592758 589873 -2884.91 ms
99th percentile latency cardinality-agg-high 611233 608075 -3157.78 ms
100th percentile latency cardinality-agg-high 612241 609085 -3156.12 ms
50th percentile service time cardinality-agg-high 2527.13 2518.79 -8.33447 ms
90th percentile service time cardinality-agg-high 2581.18 2575.89 -5.2887 ms
99th percentile service time cardinality-agg-high 2653.68 2646.98 -6.70325 ms
100th percentile service time cardinality-agg-high 2678.35 2663.25 -15.0979 ms
error rate cardinality-agg-high 0 0 0 %

@kkewwei
Copy link
Contributor Author

kkewwei commented Jan 5, 2025

@jed326, please have a look, it appears that performance benchmarks do not take innerhit into account, should I use opensearch-benchmark to have a try?

@jed326
Copy link
Collaborator

jed326 commented Jan 6, 2025

@kkewwei It looks like there is a nested workload in opensearch-benchmark that has some inner-hits queries: https://github.com/opensearch-project/opensearch-benchmark-workloads/blob/4a4a5f2ceb9af420951ccce0c82b762c628bee83/nested/operations/default.json#L13
However, it looks like there's no benchmarking configuration for this workload: https://github.com/opensearch-project/OpenSearch/blob/main/.github/benchmark-configs.json

So you could either open a separate PR to add some nested workload to the benchmarking config, or you can try to run that benchmarking workload separately on your own stup.

@jed326
Copy link
Collaborator

jed326 commented Jan 6, 2025

Tagging @reta and @msfroh as well -- this PR looks like something you may be interested in

@rishabh6788
Copy link
Contributor

@kkewwei It looks like there is a nested workload in opensearch-benchmark that has some inner-hits queries: https://github.com/opensearch-project/opensearch-benchmark-workloads/blob/4a4a5f2ceb9af420951ccce0c82b762c628bee83/nested/operations/default.json#L13 However, it looks like there's no benchmarking configuration for this workload: https://github.com/opensearch-project/OpenSearch/blob/main/.github/benchmark-configs.json

So you could either open a separate PR to add some nested workload to the benchmarking config, or you can try to run that benchmarking workload separately on your own stup.

Let me schedule a baseline for this as well and add it to the config.

Copy link
Collaborator

@msfroh msfroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In principle, I think the change makes sense.

I think I remember seeing something similar in another Lucene-based project where child doc IDs were cached in a bitset to carry them from the query phase to a later step (though it might have been related to the Lucene facets module, rather than the fetch phase like here).

I guess my only concern is whether explicitly adding the nested doc IDs to the BitsetFilterCache could lead to excessive memory consumption, since that class has the following JavaDoc:

 * This is a cache for {@link BitDocIdSet} based filters and is unbounded by size or time.
 * <p>
 * Use this cache with care, only components that require that a filter is to be materialized as a {@link BitDocIdSet}
 * and require that it should always be around should use this cache, otherwise the
 * {@link org.opensearch.index.cache.query.QueryCache} should be used instead.

I could be mistaken, but I think things only get removed from BitsetFilterCache when a segment gets merged away.

That said, it looks like this is only caching a nestedTypeFilter, which is consistent with the parent filter (i.e. this filter depends on the mapping, which shouldn't change frequently, as opposed to depending on something in the query that could have higher cardinality). So, I think it's safe.

@rishabh6788
Copy link
Contributor

{"run-benchmark-test": "id_16"}

Copy link
Contributor

github-actions bot commented Jan 6, 2025

The Jenkins job url is https://build.ci.opensearch.org/job/benchmark-pull-request/2041/ . Final results will be published once the job is completed.

@opensearch-ci-bot
Copy link
Collaborator

Benchmark Results

Benchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-pull-request/2041/

Metric Task Value Unit
Cumulative indexing time of primary shards 18.0632 min
Min cumulative indexing time across primary shards 18.0632 min
Median cumulative indexing time across primary shards 18.0632 min
Max cumulative indexing time across primary shards 18.0632 min
Cumulative indexing throttle time of primary shards 0 min
Min cumulative indexing throttle time across primary shards 0 min
Median cumulative indexing throttle time across primary shards 0 min
Max cumulative indexing throttle time across primary shards 0 min
Cumulative merge time of primary shards 3.58247 min
Cumulative merge count of primary shards 9
Min cumulative merge time across primary shards 3.58247 min
Median cumulative merge time across primary shards 3.58247 min
Max cumulative merge time across primary shards 3.58247 min
Cumulative merge throttle time of primary shards 1.54732 min
Min cumulative merge throttle time across primary shards 1.54732 min
Median cumulative merge throttle time across primary shards 1.54732 min
Max cumulative merge throttle time across primary shards 1.54732 min
Cumulative refresh time of primary shards 0.361283 min
Cumulative refresh count of primary shards 27
Min cumulative refresh time across primary shards 0.361283 min
Median cumulative refresh time across primary shards 0.361283 min
Max cumulative refresh time across primary shards 0.361283 min
Cumulative flush time of primary shards 1.29557 min
Cumulative flush count of primary shards 10
Min cumulative flush time across primary shards 1.29557 min
Median cumulative flush time across primary shards 1.29557 min
Max cumulative flush time across primary shards 1.29557 min
Total Young Gen GC time 1.673 s
Total Young Gen GC count 55
Total Old Gen GC time 0 s
Total Old Gen GC count 0
Store size 3.38266 GB
Translog size 5.12227e-08 GB
Heap used for segments 0 MB
Heap used for doc values 0 MB
Heap used for terms 0 MB
Heap used for norms 0 MB
Heap used for points 0 MB
Heap used for stored fields 0 MB
Segment count 30
Min Throughput index-append 33691.2 docs/s
Mean Throughput index-append 34872.7 docs/s
Median Throughput index-append 34893.1 docs/s
Max Throughput index-append 35865.6 docs/s
50th percentile latency index-append 440.449 ms
90th percentile latency index-append 587.765 ms
99th percentile latency index-append 4231.82 ms
99.9th percentile latency index-append 7992.93 ms
100th percentile latency index-append 9417 ms
50th percentile service time index-append 440.43 ms
90th percentile service time index-append 587.765 ms
99th percentile service time index-append 4231.82 ms
99.9th percentile service time index-append 7992.93 ms
100th percentile service time index-append 9417 ms
error rate index-append 0 %
Min Throughput wait-until-merges-finish 115.8 ops/s
Mean Throughput wait-until-merges-finish 115.8 ops/s
Median Throughput wait-until-merges-finish 115.8 ops/s
Max Throughput wait-until-merges-finish 115.8 ops/s
100th percentile latency wait-until-merges-finish 8.30637 ms
100th percentile service time wait-until-merges-finish 8.30637 ms
error rate wait-until-merges-finish 0 %
Min Throughput randomized-nested-queries 19.85 ops/s
Mean Throughput randomized-nested-queries 19.91 ops/s
Median Throughput randomized-nested-queries 19.92 ops/s
Max Throughput randomized-nested-queries 19.95 ops/s
50th percentile latency randomized-nested-queries 41.501 ms
90th percentile latency randomized-nested-queries 61.2376 ms
99th percentile latency randomized-nested-queries 77.4533 ms
99.9th percentile latency randomized-nested-queries 92.4224 ms
100th percentile latency randomized-nested-queries 98.4391 ms
50th percentile service time randomized-nested-queries 40.5837 ms
90th percentile service time randomized-nested-queries 60.4164 ms
99th percentile service time randomized-nested-queries 75.9238 ms
99.9th percentile service time randomized-nested-queries 91.4397 ms
100th percentile service time randomized-nested-queries 96.2732 ms
error rate randomized-nested-queries 0 %
Min Throughput randomized-term-queries 24.99 ops/s
Mean Throughput randomized-term-queries 24.99 ops/s
Median Throughput randomized-term-queries 24.99 ops/s
Max Throughput randomized-term-queries 24.99 ops/s
50th percentile latency randomized-term-queries 9.39405 ms
90th percentile latency randomized-term-queries 22.1835 ms
99th percentile latency randomized-term-queries 31.8169 ms
100th percentile latency randomized-term-queries 34.0569 ms
50th percentile service time randomized-term-queries 8.30286 ms
90th percentile service time randomized-term-queries 20.8639 ms
99th percentile service time randomized-term-queries 29.8834 ms
100th percentile service time randomized-term-queries 32.1855 ms
error rate randomized-term-queries 0 %
Min Throughput randomized-sorted-term-queries 16 ops/s
Mean Throughput randomized-sorted-term-queries 16 ops/s
Median Throughput randomized-sorted-term-queries 16 ops/s
Max Throughput randomized-sorted-term-queries 16 ops/s
50th percentile latency randomized-sorted-term-queries 11.133 ms
90th percentile latency randomized-sorted-term-queries 15.7996 ms
99th percentile latency randomized-sorted-term-queries 18.3478 ms
100th percentile latency randomized-sorted-term-queries 19.1599 ms
50th percentile service time randomized-sorted-term-queries 10.1885 ms
90th percentile service time randomized-sorted-term-queries 14.9041 ms
99th percentile service time randomized-sorted-term-queries 17.5551 ms
100th percentile service time randomized-sorted-term-queries 17.8876 ms
error rate randomized-sorted-term-queries 0 %
Min Throughput match-all 5 ops/s
Mean Throughput match-all 5 ops/s
Median Throughput match-all 5 ops/s
Max Throughput match-all 5 ops/s
50th percentile latency match-all 3.95571 ms
90th percentile latency match-all 4.33046 ms
99th percentile latency match-all 4.58685 ms
100th percentile latency match-all 8.13353 ms
50th percentile service time match-all 2.7173 ms
90th percentile service time match-all 2.99646 ms
99th percentile service time match-all 3.1369 ms
100th percentile service time match-all 7.3401 ms
error rate match-all 0 %
Min Throughput nested-date-histo 1 ops/s
Mean Throughput nested-date-histo 1 ops/s
Median Throughput nested-date-histo 1 ops/s
Max Throughput nested-date-histo 1 ops/s
50th percentile latency nested-date-histo 1648.57 ms
90th percentile latency nested-date-histo 1681.97 ms
99th percentile latency nested-date-histo 2686.44 ms
100th percentile latency nested-date-histo 2943.27 ms
50th percentile service time nested-date-histo 1646.89 ms
90th percentile service time nested-date-histo 1677.84 ms
99th percentile service time nested-date-histo 2150.54 ms
100th percentile service time nested-date-histo 2194.82 ms
error rate nested-date-histo 0 %
Min Throughput randomized-nested-queries-with-inner-hits_default 17.98 ops/s
Mean Throughput randomized-nested-queries-with-inner-hits_default 17.99 ops/s
Median Throughput randomized-nested-queries-with-inner-hits_default 17.99 ops/s
Max Throughput randomized-nested-queries-with-inner-hits_default 17.99 ops/s
50th percentile latency randomized-nested-queries-with-inner-hits_default 42.7668 ms
90th percentile latency randomized-nested-queries-with-inner-hits_default 64.5103 ms
99th percentile latency randomized-nested-queries-with-inner-hits_default 76.2288 ms
99.9th percentile latency randomized-nested-queries-with-inner-hits_default 84.7274 ms
100th percentile latency randomized-nested-queries-with-inner-hits_default 88.9713 ms
50th percentile service time randomized-nested-queries-with-inner-hits_default 41.9855 ms
90th percentile service time randomized-nested-queries-with-inner-hits_default 63.6458 ms
99th percentile service time randomized-nested-queries-with-inner-hits_default 75.3172 ms
99.9th percentile service time randomized-nested-queries-with-inner-hits_default 84.1303 ms
100th percentile service time randomized-nested-queries-with-inner-hits_default 88.2952 ms
error rate randomized-nested-queries-with-inner-hits_default 0 %
Min Throughput randomized-nested-queries-with-inner-hits_default_big_size 16 ops/s
Mean Throughput randomized-nested-queries-with-inner-hits_default_big_size 16 ops/s
Median Throughput randomized-nested-queries-with-inner-hits_default_big_size 16 ops/s
Max Throughput randomized-nested-queries-with-inner-hits_default_big_size 16 ops/s
50th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 50.3861 ms
90th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 72.2062 ms
99th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 84.3133 ms
99.9th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 95.7182 ms
100th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 100.528 ms
50th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 49.5142 ms
90th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 71.4189 ms
99th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 83.0142 ms
99.9th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 94.8136 ms
100th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 99.7684 ms
error rate randomized-nested-queries-with-inner-hits_default_big_size 0 %

@opensearch-ci-bot
Copy link
Collaborator

Benchmark Baseline Comparison Results

Benchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-compare/32/

Metric Task Baseline Contender Diff Unit
Cumulative indexing time of primary shards 18.5089 18.0632 -0.44575 min
Min cumulative indexing time across primary shard 18.5089 18.0632 -0.44575 min
Median cumulative indexing time across primary shard 18.5089 18.0632 -0.44575 min
Max cumulative indexing time across primary shard 18.5089 18.0632 -0.44575 min
Cumulative indexing throttle time of primary shards 0 0 0 min
Min cumulative indexing throttle time across primary shard 0 0 0 min
Median cumulative indexing throttle time across primary shard 0 0 0 min
Max cumulative indexing throttle time across primary shard 0 0 0 min
Cumulative merge time of primary shards 3.32158 3.58247 0.26088 min
Cumulative merge count of primary shards 9 9 0
Min cumulative merge time across primary shard 3.32158 3.58247 0.26088 min
Median cumulative merge time across primary shard 3.32158 3.58247 0.26088 min
Max cumulative merge time across primary shard 3.32158 3.58247 0.26088 min
Cumulative merge throttle time of primary shards 1.22978 1.54732 0.31753 min
Min cumulative merge throttle time across primary shard 1.22978 1.54732 0.31753 min
Median cumulative merge throttle time across primary shard 1.22978 1.54732 0.31753 min
Max cumulative merge throttle time across primary shard 1.22978 1.54732 0.31753 min
Cumulative refresh time of primary shards 0.520567 0.361283 -0.15928 min
Cumulative refresh count of primary shards 23 27 4
Min cumulative refresh time across primary shard 0.520567 0.361283 -0.15928 min
Median cumulative refresh time across primary shard 0.520567 0.361283 -0.15928 min
Max cumulative refresh time across primary shard 0.520567 0.361283 -0.15928 min
Cumulative flush time of primary shards 1.23505 1.29557 0.06052 min
Cumulative flush count of primary shards 9 10 1
Min cumulative flush time across primary shard 1.23505 1.29557 0.06052 min
Median cumulative flush time across primary shard 1.23505 1.29557 0.06052 min
Max cumulative flush time across primary shard 1.23505 1.29557 0.06052 min
Total Young Gen GC time 1.721 1.673 -0.048 s
Total Young Gen GC count 58 55 -3
Total Old Gen GC time 0 0 0 s
Total Old Gen GC count 0 0 0
Store size 3.38228 3.38266 0.00038 GB
Translog size 5.12227e-08 5.12227e-08 0 GB
Heap used for segments 0 0 0 MB
Heap used for doc values 0 0 0 MB
Heap used for terms 0 0 0 MB
Heap used for norms 0 0 0 MB
Heap used for points 0 0 0 MB
Heap used for stored fields 0 0 0 MB
Segment count 27 30 3
Min Throughput index-append 32574 33691.2 1117.23 docs/s
Mean Throughput index-append 33951.8 34872.6 920.865 docs/s
Median Throughput index-append 34036.3 34893.1 856.775 docs/s
Max Throughput index-append 34852.4 35865.6 1013.2 docs/s
50th percentile latency index-append 457.617 440.449 -17.1679 ms
90th percentile latency index-append 620.341 587.765 -32.5757 ms
99th percentile latency index-append 2603.94 4231.82 1627.88 ms
99.9th percentile latency index-append 8157.98 7992.93 -165.052 ms
100th percentile latency index-append 9375.86 9417 41.1426 ms
50th percentile service time index-append 457.666 440.43 -17.2361 ms
90th percentile service time index-append 620.072 587.765 -32.3073 ms
99th percentile service time index-append 2603.94 4231.82 1627.88 ms
99.9th percentile service time index-append 8157.98 7992.93 -165.052 ms
100th percentile service time index-append 9375.86 9417 41.1426 ms
error rate index-append 0 0 0 %
Min Throughput wait-until-merges-finish 119.978 115.801 -4.17703 ops/s
Mean Throughput wait-until-merges-finish 119.978 115.801 -4.17703 ops/s
Median Throughput wait-until-merges-finish 119.978 115.801 -4.17703 ops/s
Max Throughput wait-until-merges-finish 119.978 115.801 -4.17703 ops/s
100th percentile latency wait-until-merges-finish 8.01307 8.30637 0.2933 ms
100th percentile service time wait-until-merges-finish 8.01307 8.30637 0.2933 ms
error rate wait-until-merges-finish 0 0 0 %
Min Throughput randomized-nested-queries 19.9153 19.8465 -0.06884 ops/s
Mean Throughput randomized-nested-queries 19.9528 19.9145 -0.03826 ops/s
Median Throughput randomized-nested-queries 19.957 19.9222 -0.03482 ops/s
Max Throughput randomized-nested-queries 19.9712 19.9477 -0.02348 ops/s
50th percentile latency randomized-nested-queries 43.3956 41.501 -1.89463 ms
90th percentile latency randomized-nested-queries 61.9143 61.2376 -0.67671 ms
99th percentile latency randomized-nested-queries 80.9497 77.4533 -3.49635 ms
99.9th percentile latency randomized-nested-queries 98.3926 92.4224 -5.97017 ms
100th percentile latency randomized-nested-queries 102.893 98.4391 -4.45438 ms
50th percentile service time randomized-nested-queries 42.6058 40.5837 -2.02208 ms
90th percentile service time randomized-nested-queries 61.0265 60.4164 -0.61019 ms
99th percentile service time randomized-nested-queries 80.3492 75.9238 -4.42542 ms
99.9th percentile service time randomized-nested-queries 97.522 91.4397 -6.08231 ms
100th percentile service time randomized-nested-queries 102.59 96.2732 -6.31667 ms
error rate randomized-nested-queries 0 0 0 %
Min Throughput randomized-term-queries 24.9953 24.9899 -0.00548 ops/s
Mean Throughput randomized-term-queries 24.9961 24.9913 -0.00478 ops/s
Median Throughput randomized-term-queries 24.9961 24.9912 -0.0049 ops/s
Max Throughput randomized-term-queries 24.9968 24.9927 -0.00406 ops/s
50th percentile latency randomized-term-queries 8.86433 9.39405 0.52972 ms
90th percentile latency randomized-term-queries 19.8076 22.1835 2.37588 ms
99th percentile latency randomized-term-queries 30.5528 31.8169 1.26413 ms
100th percentile latency randomized-term-queries 33.7835 34.0569 0.27339 ms
50th percentile service time randomized-term-queries 7.7651 8.30286 0.53775 ms
90th percentile service time randomized-term-queries 18.6583 20.8639 2.20556 ms
99th percentile service time randomized-term-queries 28.7456 29.8834 1.13779 ms
100th percentile service time randomized-term-queries 32.0039 32.1855 0.18167 ms
error rate randomized-term-queries 0 0 0 %
Min Throughput randomized-sorted-term-queries 15.9801 15.9998 0.01976 ops/s
Mean Throughput randomized-sorted-term-queries 15.983 15.9999 0.0169 ops/s
Median Throughput randomized-sorted-term-queries 15.9832 15.9999 0.01672 ops/s
Max Throughput randomized-sorted-term-queries 15.9855 16 0.01451 ops/s
50th percentile latency randomized-sorted-term-queries 18.2531 11.133 -7.12004 ms
90th percentile latency randomized-sorted-term-queries 27.0135 15.7996 -11.2138 ms
99th percentile latency randomized-sorted-term-queries 31.0631 18.3478 -12.7153 ms
100th percentile latency randomized-sorted-term-queries 31.9366 19.1599 -12.7767 ms
50th percentile service time randomized-sorted-term-queries 17.2751 10.1885 -7.08662 ms
90th percentile service time randomized-sorted-term-queries 26.0488 14.9041 -11.1447 ms
99th percentile service time randomized-sorted-term-queries 30.141 17.5551 -12.5859 ms
100th percentile service time randomized-sorted-term-queries 30.9494 17.8876 -13.0618 ms
error rate randomized-sorted-term-queries 0 0 0 %
Min Throughput match-all 5.0033 5.00321 -9e-05 ops/s
Mean Throughput match-all 5.00387 5.00377 -0.0001 ops/s
Median Throughput match-all 5.00383 5.00373 -0.0001 ops/s
Max Throughput match-all 5.00459 5.00448 -0.00012 ops/s
50th percentile latency match-all 3.9774 3.95571 -0.02169 ms
90th percentile latency match-all 4.35064 4.33046 -0.02018 ms
99th percentile latency match-all 4.87169 4.58685 -0.28484 ms
100th percentile latency match-all 5.08842 8.13353 3.04511 ms
50th percentile service time match-all 2.73767 2.7173 -0.02037 ms
90th percentile service time match-all 3.03017 2.99646 -0.03371 ms
99th percentile service time match-all 3.2852 3.1369 -0.1483 ms
100th percentile service time match-all 3.34236 7.3401 3.99773 ms
error rate match-all 0 0 0 %
Min Throughput nested-date-histo 0.996241 0.995181 -0.00106 ops/s
Mean Throughput nested-date-histo 0.997911 0.997296 -0.00061 ops/s
Median Throughput nested-date-histo 0.998097 0.997487 -0.00061 ops/s
Max Throughput nested-date-histo 0.998734 0.998379 -0.00036 ops/s
50th percentile latency nested-date-histo 1594.48 1648.57 54.0955 ms
90th percentile latency nested-date-histo 1612.75 1681.97 69.2137 ms
99th percentile latency nested-date-histo 1652.44 2686.44 1034 ms
100th percentile latency nested-date-histo 1672.38 2943.27 1270.89 ms
50th percentile service time nested-date-histo 1593.29 1646.89 53.5987 ms
90th percentile service time nested-date-histo 1611.37 1677.84 66.4697 ms
99th percentile service time nested-date-histo 1651.22 2150.54 499.319 ms
100th percentile service time nested-date-histo 1671.62 2194.82 523.203 ms
error rate nested-date-histo 0 0 0 %
Min Throughput randomized-nested-queries-with-inner-hits_default 17.9834 17.9805 -0.00295 ops/s
Mean Throughput randomized-nested-queries-with-inner-hits_default 17.9909 17.9891 -0.00177 ops/s
Median Throughput randomized-nested-queries-with-inner-hits_default 17.9917 17.99 -0.00169 ops/s
Max Throughput randomized-nested-queries-with-inner-hits_default 17.9945 17.9934 -0.00109 ops/s
50th percentile latency randomized-nested-queries-with-inner-hits_default 45.598 42.7668 -2.83128 ms
90th percentile latency randomized-nested-queries-with-inner-hits_default 68.0578 64.5103 -3.54746 ms
99th percentile latency randomized-nested-queries-with-inner-hits_default 82.6938 76.2288 -6.46498 ms
99.9th percentile latency randomized-nested-queries-with-inner-hits_default 90.0062 84.7274 -5.27884 ms
100th percentile latency randomized-nested-queries-with-inner-hits_default 92.1457 88.9713 -3.17445 ms
50th percentile service time randomized-nested-queries-with-inner-hits_default 44.5596 41.9855 -2.57408 ms
90th percentile service time randomized-nested-queries-with-inner-hits_default 67.1074 63.6458 -3.46161 ms
99th percentile service time randomized-nested-queries-with-inner-hits_default 81.9872 75.3172 -6.66994 ms
99.9th percentile service time randomized-nested-queries-with-inner-hits_default 89.2778 84.1303 -5.1475 ms
100th percentile service time randomized-nested-queries-with-inner-hits_default 91.4063 88.2952 -3.11117 ms
error rate randomized-nested-queries-with-inner-hits_default 0 0 0 %
Min Throughput randomized-nested-queries-with-inner-hits_default_big_size 15.9991 15.9988 -0.0003 ops/s
Mean Throughput randomized-nested-queries-with-inner-hits_default_big_size 15.9996 15.9995 -0.00012 ops/s
Median Throughput randomized-nested-queries-with-inner-hits_default_big_size 15.9996 15.9995 -0.00011 ops/s
Max Throughput randomized-nested-queries-with-inner-hits_default_big_size 15.9998 15.9997 -6e-05 ops/s
50th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 54.1399 50.3861 -3.75372 ms
90th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 75.6795 72.2062 -3.47324 ms
99th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 88.6511 84.3133 -4.33776 ms
99.9th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 103.584 95.7182 -7.86625 ms
100th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 105.698 100.528 -5.17 ms
50th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 53.3302 49.5142 -3.81595 ms
90th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 74.4304 71.4189 -3.01143 ms
99th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 87.8445 83.0142 -4.83025 ms
99.9th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 102.858 94.8136 -8.04402 ms
100th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 104.421 99.7684 -4.65303 ms
error rate randomized-nested-queries-with-inner-hits_default_big_size 0 0 0 %

Signed-off-by: kkewwei <[email protected]>
Signed-off-by: kkewwei <[email protected]>
@kkewwei kkewwei force-pushed the optimize_innerhits_query branch from 58f9a01 to b1d2f72 Compare January 7, 2025 08:20
@kkewwei
Copy link
Contributor Author

kkewwei commented Jan 7, 2025

That said, it looks like this is only caching a nestedTypeFilter, which is consistent with the parent filter (i.e. this filter depends on the mapping, which shouldn't change frequently, as opposed to depending on something in the query that could have higher cardinality). So, I think it's safe.

@msfroh, initially, I had this concern. However, upon further investigation, I discovered that the nestedTypeFilter had already been cached into the BitsetFilterCache. Consequently, there would be no additional utilization of the cache, so, I think it's safe too.
image
see NestedQueryBuilder(https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/index/query/NestedQueryBuilder.java#L410).

In my side, doc is more completed than the benchmark doc, the took will be greatly reduced 34%(836ms->551ms).

Copy link
Contributor

github-actions bot commented Jan 7, 2025

✅ Gradle check result for b1d2f72: SUCCESS

Copy link

codecov bot commented Jan 7, 2025

Codecov Report

Attention: Patch coverage is 4.34783% with 22 lines in your changes missing coverage. Please review.

Project coverage is 72.21%. Comparing base (e7e19f7) to head (b1d2f72).

Files with missing lines Patch % Lines
...va/org/opensearch/index/mapper/DocumentMapper.java 0.00% 15 Missing ⚠️
...n/java/org/opensearch/search/fetch/FetchPhase.java 0.00% 6 Missing ⚠️
...org/opensearch/index/query/NestedQueryBuilder.java 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               main   #16937   +/-   ##
=========================================
  Coverage     72.20%   72.21%           
+ Complexity    65289    65276   -13     
=========================================
  Files          5299     5299           
  Lines        303536   303541    +5     
  Branches      43941    43942    +1     
=========================================
+ Hits         219180   219200   +20     
+ Misses        66441    66425   -16     
- Partials      17915    17916    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jed326
Copy link
Collaborator

jed326 commented Jan 7, 2025

@kkewwei Looking at the perf numbers from #16937 (comment) it seems the nested-date-histo query is seeing some regression, could you double check on that? Feel free to share some of your own benchmarking results as well.

I'll re-trigger these benchmarks as well.

@jed326
Copy link
Collaborator

jed326 commented Jan 7, 2025

{"run-benchmark-test": "id_16"}

Copy link
Contributor

github-actions bot commented Jan 7, 2025

The Jenkins job url is https://build.ci.opensearch.org/job/benchmark-pull-request/2051/ . Final results will be published once the job is completed.

@jed326 jed326 added backport 2.x Backport to 2.x branch v2.19.0 Issues and PRs related to version 2.19.0 labels Jan 7, 2025
@opensearch-ci-bot
Copy link
Collaborator

Benchmark Results

Benchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-pull-request/2051/

Metric Task Value Unit
Cumulative indexing time of primary shards 17.9749 min
Min cumulative indexing time across primary shards 17.9749 min
Median cumulative indexing time across primary shards 17.9749 min
Max cumulative indexing time across primary shards 17.9749 min
Cumulative indexing throttle time of primary shards 0 min
Min cumulative indexing throttle time across primary shards 0 min
Median cumulative indexing throttle time across primary shards 0 min
Max cumulative indexing throttle time across primary shards 0 min
Cumulative merge time of primary shards 3.93392 min
Cumulative merge count of primary shards 10
Min cumulative merge time across primary shards 3.93392 min
Median cumulative merge time across primary shards 3.93392 min
Max cumulative merge time across primary shards 3.93392 min
Cumulative merge throttle time of primary shards 1.64078 min
Min cumulative merge throttle time across primary shards 1.64078 min
Median cumulative merge throttle time across primary shards 1.64078 min
Max cumulative merge throttle time across primary shards 1.64078 min
Cumulative refresh time of primary shards 0.331867 min
Cumulative refresh count of primary shards 28
Min cumulative refresh time across primary shards 0.331867 min
Median cumulative refresh time across primary shards 0.331867 min
Max cumulative refresh time across primary shards 0.331867 min
Cumulative flush time of primary shards 1.28517 min
Cumulative flush count of primary shards 10
Min cumulative flush time across primary shards 1.28517 min
Median cumulative flush time across primary shards 1.28517 min
Max cumulative flush time across primary shards 1.28517 min
Total Young Gen GC time 1.693 s
Total Young Gen GC count 56
Total Old Gen GC time 0 s
Total Old Gen GC count 0
Store size 3.35513 GB
Translog size 5.12227e-08 GB
Heap used for segments 0 MB
Heap used for doc values 0 MB
Heap used for terms 0 MB
Heap used for norms 0 MB
Heap used for points 0 MB
Heap used for stored fields 0 MB
Segment count 25
Min Throughput index-append 33322.1 docs/s
Mean Throughput index-append 34799.3 docs/s
Median Throughput index-append 34856.7 docs/s
Max Throughput index-append 35713.7 docs/s
50th percentile latency index-append 433.129 ms
90th percentile latency index-append 597.871 ms
99th percentile latency index-append 3928.9 ms
99.9th percentile latency index-append 7900.79 ms
100th percentile latency index-append 10996.1 ms
50th percentile service time index-append 433.119 ms
90th percentile service time index-append 598.354 ms
99th percentile service time index-append 3928.9 ms
99.9th percentile service time index-append 7900.79 ms
100th percentile service time index-append 10996.1 ms
error rate index-append 0 %
Min Throughput wait-until-merges-finish 0.98 ops/s
Mean Throughput wait-until-merges-finish 0.98 ops/s
Median Throughput wait-until-merges-finish 0.98 ops/s
Max Throughput wait-until-merges-finish 0.98 ops/s
100th percentile latency wait-until-merges-finish 1016.93 ms
100th percentile service time wait-until-merges-finish 1016.93 ms
error rate wait-until-merges-finish 0 %
Min Throughput randomized-nested-queries 19.87 ops/s
Mean Throughput randomized-nested-queries 19.93 ops/s
Median Throughput randomized-nested-queries 19.93 ops/s
Max Throughput randomized-nested-queries 19.95 ops/s
50th percentile latency randomized-nested-queries 42.8405 ms
90th percentile latency randomized-nested-queries 64.597 ms
99th percentile latency randomized-nested-queries 81.7373 ms
99.9th percentile latency randomized-nested-queries 107.973 ms
100th percentile latency randomized-nested-queries 112.282 ms
50th percentile service time randomized-nested-queries 41.7782 ms
90th percentile service time randomized-nested-queries 63.6646 ms
99th percentile service time randomized-nested-queries 80.6595 ms
99.9th percentile service time randomized-nested-queries 106.713 ms
100th percentile service time randomized-nested-queries 111.742 ms
error rate randomized-nested-queries 0 %
Min Throughput randomized-term-queries 24.99 ops/s
Mean Throughput randomized-term-queries 25 ops/s
Median Throughput randomized-term-queries 25 ops/s
Max Throughput randomized-term-queries 25 ops/s
50th percentile latency randomized-term-queries 9.64447 ms
90th percentile latency randomized-term-queries 20.4359 ms
99th percentile latency randomized-term-queries 29.6934 ms
100th percentile latency randomized-term-queries 32.4105 ms
50th percentile service time randomized-term-queries 8.73384 ms
90th percentile service time randomized-term-queries 19.3566 ms
99th percentile service time randomized-term-queries 28.1112 ms
100th percentile service time randomized-term-queries 32.0455 ms
error rate randomized-term-queries 0 %
Min Throughput randomized-sorted-term-queries 15.98 ops/s
Mean Throughput randomized-sorted-term-queries 15.99 ops/s
Median Throughput randomized-sorted-term-queries 15.99 ops/s
Max Throughput randomized-sorted-term-queries 15.99 ops/s
50th percentile latency randomized-sorted-term-queries 15.5483 ms
90th percentile latency randomized-sorted-term-queries 22.8229 ms
99th percentile latency randomized-sorted-term-queries 32.1084 ms
100th percentile latency randomized-sorted-term-queries 36.6672 ms
50th percentile service time randomized-sorted-term-queries 14.4993 ms
90th percentile service time randomized-sorted-term-queries 21.8899 ms
99th percentile service time randomized-sorted-term-queries 31.3888 ms
100th percentile service time randomized-sorted-term-queries 35.4956 ms
error rate randomized-sorted-term-queries 0 %
Min Throughput match-all 5 ops/s
Mean Throughput match-all 5 ops/s
Median Throughput match-all 5 ops/s
Max Throughput match-all 5 ops/s
50th percentile latency match-all 3.80601 ms
90th percentile latency match-all 4.19082 ms
99th percentile latency match-all 4.65738 ms
100th percentile latency match-all 8.02651 ms
50th percentile service time match-all 2.64326 ms
90th percentile service time match-all 2.86591 ms
99th percentile service time match-all 3.14609 ms
100th percentile service time match-all 6.67218 ms
error rate match-all 0 %
Min Throughput nested-date-histo 1 ops/s
Mean Throughput nested-date-histo 1 ops/s
Median Throughput nested-date-histo 1 ops/s
Max Throughput nested-date-histo 1 ops/s
50th percentile latency nested-date-histo 1468.68 ms
90th percentile latency nested-date-histo 1488.86 ms
99th percentile latency nested-date-histo 1523.47 ms
100th percentile latency nested-date-histo 1557.22 ms
50th percentile service time nested-date-histo 1467.08 ms
90th percentile service time nested-date-histo 1487.28 ms
99th percentile service time nested-date-histo 1522.2 ms
100th percentile service time nested-date-histo 1556.21 ms
error rate nested-date-histo 0 %
Min Throughput randomized-nested-queries-with-inner-hits_default 17.98 ops/s
Mean Throughput randomized-nested-queries-with-inner-hits_default 17.99 ops/s
Median Throughput randomized-nested-queries-with-inner-hits_default 17.99 ops/s
Max Throughput randomized-nested-queries-with-inner-hits_default 17.99 ops/s
50th percentile latency randomized-nested-queries-with-inner-hits_default 41.9809 ms
90th percentile latency randomized-nested-queries-with-inner-hits_default 63.6079 ms
99th percentile latency randomized-nested-queries-with-inner-hits_default 77.5298 ms
99.9th percentile latency randomized-nested-queries-with-inner-hits_default 85.2686 ms
100th percentile latency randomized-nested-queries-with-inner-hits_default 88.5834 ms
50th percentile service time randomized-nested-queries-with-inner-hits_default 41.1282 ms
90th percentile service time randomized-nested-queries-with-inner-hits_default 62.7057 ms
99th percentile service time randomized-nested-queries-with-inner-hits_default 76.261 ms
99.9th percentile service time randomized-nested-queries-with-inner-hits_default 84.5133 ms
100th percentile service time randomized-nested-queries-with-inner-hits_default 88.1227 ms
error rate randomized-nested-queries-with-inner-hits_default 0 %
Min Throughput randomized-nested-queries-with-inner-hits_default_big_size 16 ops/s
Mean Throughput randomized-nested-queries-with-inner-hits_default_big_size 16 ops/s
Median Throughput randomized-nested-queries-with-inner-hits_default_big_size 16 ops/s
Max Throughput randomized-nested-queries-with-inner-hits_default_big_size 16 ops/s
50th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 49.2731 ms
90th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 72.403 ms
99th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 104.799 ms
99.9th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 117.022 ms
100th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 119.129 ms
50th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 48.3609 ms
90th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 71.4149 ms
99th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 104.104 ms
99.9th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 116.349 ms
100th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 118.192 ms
error rate randomized-nested-queries-with-inner-hits_default_big_size 0 %

@opensearch-ci-bot
Copy link
Collaborator

Benchmark Baseline Comparison Results

Benchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-compare/33/

Metric Task Baseline Contender Diff Unit
Cumulative indexing time of primary shards 17.5957 17.9749 0.37922 min
Min cumulative indexing time across primary shard 17.5957 17.9749 0.37922 min
Median cumulative indexing time across primary shard 17.5957 17.9749 0.37922 min
Max cumulative indexing time across primary shard 17.5957 17.9749 0.37922 min
Cumulative indexing throttle time of primary shards 0 0 0 min
Min cumulative indexing throttle time across primary shard 0 0 0 min
Median cumulative indexing throttle time across primary shard 0 0 0 min
Max cumulative indexing throttle time across primary shard 0 0 0 min
Cumulative merge time of primary shards 3.24335 3.93392 0.69057 min
Cumulative merge count of primary shards 9 10 1
Min cumulative merge time across primary shard 3.24335 3.93392 0.69057 min
Median cumulative merge time across primary shard 3.24335 3.93392 0.69057 min
Max cumulative merge time across primary shard 3.24335 3.93392 0.69057 min
Cumulative merge throttle time of primary shards 1.27122 1.64078 0.36957 min
Min cumulative merge throttle time across primary shard 1.27122 1.64078 0.36957 min
Median cumulative merge throttle time across primary shard 1.27122 1.64078 0.36957 min
Max cumulative merge throttle time across primary shard 1.27122 1.64078 0.36957 min
Cumulative refresh time of primary shards 0.527 0.331867 -0.19513 min
Cumulative refresh count of primary shards 23 28 5
Min cumulative refresh time across primary shard 0.527 0.331867 -0.19513 min
Median cumulative refresh time across primary shard 0.527 0.331867 -0.19513 min
Max cumulative refresh time across primary shard 0.527 0.331867 -0.19513 min
Cumulative flush time of primary shards 1.20032 1.28517 0.08485 min
Cumulative flush count of primary shards 9 10 1
Min cumulative flush time across primary shard 1.20032 1.28517 0.08485 min
Median cumulative flush time across primary shard 1.20032 1.28517 0.08485 min
Max cumulative flush time across primary shard 1.20032 1.28517 0.08485 min
Total Young Gen GC time 1.75 1.693 -0.057 s
Total Young Gen GC count 58 56 -2
Total Old Gen GC time 0 0 0 s
Total Old Gen GC count 0 0 0
Store size 3.37376 3.35513 -0.01863 GB
Translog size 5.12227e-08 5.12227e-08 0 GB
Heap used for segments 0 0 0 MB
Heap used for doc values 0 0 0 MB
Heap used for terms 0 0 0 MB
Heap used for norms 0 0 0 MB
Heap used for points 0 0 0 MB
Heap used for stored fields 0 0 0 MB
Segment count 27 25 -2
Min Throughput index-append 33763.4 33322.1 -441.266 docs/s
Mean Throughput index-append 35134.4 34799.3 -335.107 docs/s
Median Throughput index-append 35197.4 34856.7 -340.689 docs/s
Max Throughput index-append 35958.4 35713.7 -244.75 docs/s
50th percentile latency index-append 438.728 433.129 -5.59906 ms
90th percentile latency index-append 580.72 597.871 17.1515 ms
99th percentile latency index-append 2482.12 3928.9 1446.78 ms
99.9th percentile latency index-append 7905.5 7900.79 -4.71007 ms
100th percentile latency index-append 8028.62 10996.1 2967.49 ms
50th percentile service time index-append 438.73 433.119 -5.61163 ms
90th percentile service time index-append 580.76 598.354 17.5933 ms
99th percentile service time index-append 2482.12 3928.9 1446.78 ms
99.9th percentile service time index-append 7905.5 7900.79 -4.71007 ms
100th percentile service time index-append 8028.62 10996.1 2967.49 ms
error rate index-append 0 0 0 %
Min Throughput wait-until-merges-finish 68.0949 0.983033 -67.1119 ops/s
Mean Throughput wait-until-merges-finish 68.0949 0.983033 -67.1119 ops/s
Median Throughput wait-until-merges-finish 68.0949 0.983033 -67.1119 ops/s
Max Throughput wait-until-merges-finish 68.0949 0.983033 -67.1119 ops/s
100th percentile latency wait-until-merges-finish 14.3595 1016.93 1002.57 ms
100th percentile service time wait-until-merges-finish 14.3595 1016.93 1002.57 ms
error rate wait-until-merges-finish 0 0 0 %
Min Throughput randomized-nested-queries 19.8989 19.8663 -0.03262 ops/s
Mean Throughput randomized-nested-queries 19.9437 19.9254 -0.0183 ops/s
Median Throughput randomized-nested-queries 19.9487 19.932 -0.01669 ops/s
Max Throughput randomized-nested-queries 19.9657 19.9544 -0.01136 ops/s
50th percentile latency randomized-nested-queries 43.3965 42.8405 -0.556 ms
90th percentile latency randomized-nested-queries 63.7562 64.597 0.8408 ms
99th percentile latency randomized-nested-queries 75.9447 81.7373 5.79265 ms
99.9th percentile latency randomized-nested-queries 103.847 107.973 4.12617 ms
100th percentile latency randomized-nested-queries 110.174 112.282 2.10802 ms
50th percentile service time randomized-nested-queries 42.5378 41.7782 -0.75954 ms
90th percentile service time randomized-nested-queries 62.6476 63.6646 1.01697 ms
99th percentile service time randomized-nested-queries 74.6117 80.6595 6.04785 ms
99.9th percentile service time randomized-nested-queries 102.335 106.713 4.37799 ms
100th percentile service time randomized-nested-queries 109.097 111.742 2.64496 ms
error rate randomized-nested-queries 0 0 0 %
Min Throughput randomized-term-queries 24.9936 24.9944 0.00085 ops/s
Mean Throughput randomized-term-queries 24.9944 24.9953 0.00089 ops/s
Median Throughput randomized-term-queries 24.9944 24.9953 0.00096 ops/s
Max Throughput randomized-term-queries 24.9954 24.9961 0.0007 ops/s
50th percentile latency randomized-term-queries 9.9555 9.64447 -0.31103 ms
90th percentile latency randomized-term-queries 22.3986 20.4359 -1.96275 ms
99th percentile latency randomized-term-queries 32.3712 29.6934 -2.67776 ms
100th percentile latency randomized-term-queries 36.9636 32.4105 -4.55309 ms
50th percentile service time randomized-term-queries 8.68156 8.73384 0.05228 ms
90th percentile service time randomized-term-queries 21.3344 19.3566 -1.97771 ms
99th percentile service time randomized-term-queries 30.8357 28.1112 -2.72448 ms
100th percentile service time randomized-term-queries 36.4551 32.0455 -4.4096 ms
error rate randomized-term-queries 0 0 0 %
Min Throughput randomized-sorted-term-queries 15.9953 15.9849 -0.01036 ops/s
Mean Throughput randomized-sorted-term-queries 15.9962 15.9873 -0.00891 ops/s
Median Throughput randomized-sorted-term-queries 15.9963 15.9873 -0.00895 ops/s
Max Throughput randomized-sorted-term-queries 15.9968 15.9892 -0.00763 ops/s
50th percentile latency randomized-sorted-term-queries 13.21 15.5483 2.33835 ms
90th percentile latency randomized-sorted-term-queries 17.705 22.8229 5.11789 ms
99th percentile latency randomized-sorted-term-queries 21.2424 32.1084 10.8659 ms
100th percentile latency randomized-sorted-term-queries 22.4589 36.6672 14.2082 ms
50th percentile service time randomized-sorted-term-queries 12.3062 14.4993 2.19305 ms
90th percentile service time randomized-sorted-term-queries 16.9315 21.8899 4.95841 ms
99th percentile service time randomized-sorted-term-queries 20.5729 31.3888 10.8159 ms
100th percentile service time randomized-sorted-term-queries 21.4059 35.4956 14.0898 ms
error rate randomized-sorted-term-queries 0 0 0 %
Min Throughput match-all 5.00326 5.00328 2e-05 ops/s
Mean Throughput match-all 5.00384 5.00387 3e-05 ops/s
Median Throughput match-all 5.0038 5.00384 3e-05 ops/s
Max Throughput match-all 5.00455 5.00459 4e-05 ops/s
50th percentile latency match-all 4.18615 3.80601 -0.38014 ms
90th percentile latency match-all 4.63423 4.19082 -0.44341 ms
99th percentile latency match-all 4.91829 4.65738 -0.26091 ms
100th percentile latency match-all 5.02476 8.02651 3.00175 ms
50th percentile service time match-all 2.99925 2.64326 -0.35599 ms
90th percentile service time match-all 3.31296 2.86591 -0.44704 ms
99th percentile service time match-all 3.50226 3.14609 -0.35616 ms
100th percentile service time match-all 3.87408 6.67218 2.79809 ms
error rate match-all 0 0 0 %
Min Throughput nested-date-histo 0.996689 0.996257 -0.00043 ops/s
Mean Throughput nested-date-histo 0.998169 0.997933 -0.00024 ops/s
Median Throughput nested-date-histo 0.998333 0.998118 -0.00021 ops/s
Max Throughput nested-date-histo 0.998886 0.998742 -0.00014 ops/s
50th percentile latency nested-date-histo 1406.53 1468.68 62.1501 ms
90th percentile latency nested-date-histo 1429.81 1488.86 59.0537 ms
99th percentile latency nested-date-histo 1464.74 1523.47 58.7312 ms
100th percentile latency nested-date-histo 1568.19 1557.22 -10.9662 ms
50th percentile service time nested-date-histo 1405 1467.08 62.0877 ms
90th percentile service time nested-date-histo 1428.06 1487.28 59.2157 ms
99th percentile service time nested-date-histo 1463.06 1522.2 59.144 ms
100th percentile service time nested-date-histo 1566.08 1556.21 -9.87524 ms
error rate nested-date-histo 0 0 0 %
Min Throughput randomized-nested-queries-with-inner-hits_default 17.985 17.9818 -0.00312 ops/s
Mean Throughput randomized-nested-queries-with-inner-hits_default 17.9916 17.99 -0.00163 ops/s
Median Throughput randomized-nested-queries-with-inner-hits_default 17.9924 17.9909 -0.00149 ops/s
Max Throughput randomized-nested-queries-with-inner-hits_default 17.9948 17.9939 -0.00088 ops/s
50th percentile latency randomized-nested-queries-with-inner-hits_default 43.9334 41.9809 -1.95255 ms
90th percentile latency randomized-nested-queries-with-inner-hits_default 65.0804 63.6079 -1.47252 ms
99th percentile latency randomized-nested-queries-with-inner-hits_default 77.126 77.5298 0.40389 ms
99.9th percentile latency randomized-nested-queries-with-inner-hits_default 79.77 85.2686 5.4986 ms
100th percentile latency randomized-nested-queries-with-inner-hits_default 80.791 88.5834 7.79237 ms
50th percentile service time randomized-nested-queries-with-inner-hits_default 43.0393 41.1282 -1.91105 ms
90th percentile service time randomized-nested-queries-with-inner-hits_default 64.1804 62.7057 -1.4747 ms
99th percentile service time randomized-nested-queries-with-inner-hits_default 76.0152 76.261 0.24585 ms
99.9th percentile service time randomized-nested-queries-with-inner-hits_default 79.1978 84.5133 5.31557 ms
100th percentile service time randomized-nested-queries-with-inner-hits_default 80.0864 88.1227 8.03631 ms
error rate randomized-nested-queries-with-inner-hits_default 0 0 0 %
Min Throughput randomized-nested-queries-with-inner-hits_default_big_size 16.0006 16.0004 -0.00015 ops/s
Mean Throughput randomized-nested-queries-with-inner-hits_default_big_size 16.001 16.0008 -0.00014 ops/s
Median Throughput randomized-nested-queries-with-inner-hits_default_big_size 16.0009 16.0008 -0.00014 ops/s
Max Throughput randomized-nested-queries-with-inner-hits_default_big_size 16.0019 16.0016 -0.00026 ops/s
50th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 51.9527 49.2731 -2.67963 ms
90th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 74.1371 72.403 -1.73409 ms
99th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 84.5332 104.799 20.2658 ms
99.9th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 92.297 117.022 24.7247 ms
100th percentile latency randomized-nested-queries-with-inner-hits_default_big_size 93.9797 119.129 25.1488 ms
50th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 50.9285 48.3609 -2.56762 ms
90th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 73.2153 71.4149 -1.80048 ms
99th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 83.5469 104.104 20.5572 ms
99.9th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 91.429 116.349 24.9198 ms
100th percentile service time randomized-nested-queries-with-inner-hits_default_big_size 92.6853 118.192 25.507 ms
error rate randomized-nested-queries-with-inner-hits_default_big_size 0 0 0 %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch enhancement Enhancement or improvement to existing feature or request Search:Performance v2.19.0 Issues and PRs related to version 2.19.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Concurrent executing query in InnerHitsPhase
5 participants