Skip to content

Conversation

sandeshkr419
Copy link
Member

Description

[Describe what this change achieves]

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

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.

Copy link
Contributor

❌ Gradle check result for 4ac38a0: 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?

@sandeshkr419 sandeshkr419 changed the title add weight.count optimization for no match [Composite Terms Aggregation] Add weight#count check optimization for no match case Jul 29, 2025
Copy link
Contributor

Hello!
We have added a performance benchmark workflow that runs by adding a comment on the PR.
Please refer https://github.com/opensearch-project/OpenSearch/blob/main/PERFORMANCE_BENCHMARKS.md on how to run benchmarks on pull requests.

@sandeshkr419
Copy link
Member Author

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

Copy link
Contributor

✅ Gradle check result for efd857e: SUCCESS

Copy link

codecov bot commented Jul 29, 2025

Codecov Report

❌ Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 72.84%. Comparing base (3b7603e) to head (efd857e).
⚠️ Report is 34 commits behind head on main.

Files with missing lines Patch % Lines
...egations/bucket/composite/CompositeAggregator.java 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18866      +/-   ##
============================================
+ Coverage     72.67%   72.84%   +0.16%     
- Complexity    68610    68670      +60     
============================================
  Files          5577     5577              
  Lines        315375   315380       +5     
  Branches      45772    45774       +2     
============================================
+ Hits         229209   229745     +536     
+ Misses        67613    66965     -648     
- Partials      18553    18670     +117     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@opensearch-ci-bot
Copy link
Collaborator

The benchmark job https://build.ci.opensearch.org/job/benchmark-pull-request/3919/ failed.
Please see logs to debug.

Copy link
Contributor

The Jenkins job url is https://build.ci.opensearch.org/job/benchmark-pull-request/3920/ . 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/3920/

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.532 s
Total Young Gen GC count 74
Total Old Gen GC time 0 s
Total Old Gen GC count 0
Store size 22.1056 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 18
Min Throughput wait-for-snapshot-recovery 4.17542e+07 byte/s
Mean Throughput wait-for-snapshot-recovery 4.17542e+07 byte/s
Median Throughput wait-for-snapshot-recovery 4.17542e+07 byte/s
Max Throughput wait-for-snapshot-recovery 4.17542e+07 byte/s
100th percentile latency wait-for-snapshot-recovery 563368 ms
100th percentile service time wait-for-snapshot-recovery 563368 ms
error rate wait-for-snapshot-recovery 0 %
Min Throughput wait-until-merges-finish 99.2 ops/s
Mean Throughput wait-until-merges-finish 99.2 ops/s
Median Throughput wait-until-merges-finish 99.2 ops/s
Max Throughput wait-until-merges-finish 99.2 ops/s
100th percentile latency wait-until-merges-finish 9.76997 ms
100th percentile service time wait-until-merges-finish 9.76997 ms
error rate wait-until-merges-finish 0 %
Min Throughput default 2 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 6.9231 ms
90th percentile latency default 7.3548 ms
99th percentile latency default 7.8622 ms
100th percentile latency default 8.10415 ms
50th percentile service time default 5.56972 ms
90th percentile service time default 5.91978 ms
99th percentile service time default 6.62134 ms
100th percentile service time default 6.76061 ms
error rate default 0 %
Min Throughput desc_sort_timestamp 2 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 9.59222 ms
90th percentile latency desc_sort_timestamp 10.1087 ms
99th percentile latency desc_sort_timestamp 12.2685 ms
100th percentile latency desc_sort_timestamp 12.8915 ms
50th percentile service time desc_sort_timestamp 8.2056 ms
90th percentile service time desc_sort_timestamp 8.56498 ms
99th percentile service time desc_sort_timestamp 10.9897 ms
100th percentile service time desc_sort_timestamp 11.6527 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 8.88122 ms
90th percentile latency asc_sort_timestamp 9.39284 ms
99th percentile latency asc_sort_timestamp 35.6418 ms
100th percentile latency asc_sort_timestamp 59.0895 ms
50th percentile service time asc_sort_timestamp 7.57133 ms
90th percentile service time asc_sort_timestamp 8.05381 ms
99th percentile service time asc_sort_timestamp 34.1057 ms
100th percentile service time asc_sort_timestamp 57.7694 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 ops/s
50th percentile latency desc_sort_with_after_timestamp 175.358 ms
90th percentile latency desc_sort_with_after_timestamp 185.197 ms
99th percentile latency desc_sort_with_after_timestamp 216.072 ms
100th percentile latency desc_sort_with_after_timestamp 225.618 ms
50th percentile service time desc_sort_with_after_timestamp 174.133 ms
90th percentile service time desc_sort_with_after_timestamp 183.872 ms
99th percentile service time desc_sort_with_after_timestamp 215.074 ms
100th percentile service time desc_sort_with_after_timestamp 224.93 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 182.312 ms
90th percentile latency asc_sort_with_after_timestamp 188.354 ms
99th percentile latency asc_sort_with_after_timestamp 227.973 ms
100th percentile latency asc_sort_with_after_timestamp 232.244 ms
50th percentile service time asc_sort_with_after_timestamp 181.186 ms
90th percentile service time asc_sort_with_after_timestamp 187.279 ms
99th percentile service time asc_sort_with_after_timestamp 226.543 ms
100th percentile service time asc_sort_with_after_timestamp 230.705 ms
error rate asc_sort_with_after_timestamp 0 %
Min Throughput desc_sort_timestamp_can_match_shortcut 2 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.98931 ms
90th percentile latency desc_sort_timestamp_can_match_shortcut 8.35815 ms
99th percentile latency desc_sort_timestamp_can_match_shortcut 9.25246 ms
100th percentile latency desc_sort_timestamp_can_match_shortcut 10.0035 ms
50th percentile service time desc_sort_timestamp_can_match_shortcut 6.65755 ms
90th percentile service time desc_sort_timestamp_can_match_shortcut 6.7788 ms
99th percentile service time desc_sort_timestamp_can_match_shortcut 7.95869 ms
100th percentile service time desc_sort_timestamp_can_match_shortcut 8.56691 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 7.96233 ms
90th percentile latency desc_sort_timestamp_no_can_match_shortcut 8.30642 ms
99th percentile latency desc_sort_timestamp_no_can_match_shortcut 35.2022 ms
100th percentile latency desc_sort_timestamp_no_can_match_shortcut 61.9856 ms
50th percentile service time desc_sort_timestamp_no_can_match_shortcut 6.63129 ms
90th percentile service time desc_sort_timestamp_no_can_match_shortcut 6.74509 ms
99th percentile service time desc_sort_timestamp_no_can_match_shortcut 33.7796 ms
100th percentile service time desc_sort_timestamp_no_can_match_shortcut 60.5066 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.47613 ms
90th percentile latency asc_sort_timestamp_can_match_shortcut 8.85744 ms
99th percentile latency asc_sort_timestamp_can_match_shortcut 9.05315 ms
100th percentile latency asc_sort_timestamp_can_match_shortcut 9.06081 ms
50th percentile service time asc_sort_timestamp_can_match_shortcut 7.16397 ms
90th percentile service time asc_sort_timestamp_can_match_shortcut 7.30758 ms
99th percentile service time asc_sort_timestamp_can_match_shortcut 7.40054 ms
100th percentile service time asc_sort_timestamp_can_match_shortcut 7.4013 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.8119 ms
90th percentile latency asc_sort_timestamp_no_can_match_shortcut 9.23802 ms
99th percentile latency asc_sort_timestamp_no_can_match_shortcut 9.34936 ms
100th percentile latency asc_sort_timestamp_no_can_match_shortcut 9.38233 ms
50th percentile service time asc_sort_timestamp_no_can_match_shortcut 7.4973 ms
90th percentile service time asc_sort_timestamp_no_can_match_shortcut 7.65681 ms
99th percentile service time asc_sort_timestamp_no_can_match_shortcut 8.10971 ms
100th percentile service time asc_sort_timestamp_no_can_match_shortcut 8.24332 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 3.78672 ms
90th percentile latency term 4.17677 ms
99th percentile latency term 4.35322 ms
100th percentile latency term 4.35458 ms
50th percentile service time term 2.52104 ms
90th percentile service time term 2.6277 ms
99th percentile service time term 2.72618 ms
100th percentile service time term 2.75818 ms
error rate term 0 %
Min Throughput multi_terms-keyword 1.36 ops/s
Mean Throughput multi_terms-keyword 1.36 ops/s
Median Throughput multi_terms-keyword 1.36 ops/s
Max Throughput multi_terms-keyword 1.37 ops/s
50th percentile latency multi_terms-keyword 58650.1 ms
90th percentile latency multi_terms-keyword 67811.9 ms
99th percentile latency multi_terms-keyword 69913.5 ms
100th percentile latency multi_terms-keyword 70024.8 ms
50th percentile service time multi_terms-keyword 726.651 ms
90th percentile service time multi_terms-keyword 736.428 ms
99th percentile service time multi_terms-keyword 761.73 ms
100th percentile service time multi_terms-keyword 767.07 ms
error rate multi_terms-keyword 0 %
Min Throughput keyword-terms 2 ops/s
Mean Throughput keyword-terms 2 ops/s
Median Throughput keyword-terms 2 ops/s
Max Throughput keyword-terms 2.01 ops/s
50th percentile latency keyword-terms 26.7416 ms
90th percentile latency keyword-terms 40.6467 ms
99th percentile latency keyword-terms 41.4699 ms
100th percentile latency keyword-terms 41.7088 ms
50th percentile service time keyword-terms 24.4715 ms
90th percentile service time keyword-terms 38.4425 ms
99th percentile service time keyword-terms 39.0708 ms
100th percentile service time keyword-terms 39.1593 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 23.5147 ms
90th percentile latency keyword-terms-low-cardinality 36.5211 ms
99th percentile latency keyword-terms-low-cardinality 36.9262 ms
100th percentile latency keyword-terms-low-cardinality 36.9311 ms
50th percentile service time keyword-terms-low-cardinality 21.379 ms
90th percentile service time keyword-terms-low-cardinality 34.2104 ms
99th percentile service time keyword-terms-low-cardinality 34.6463 ms
100th percentile service time keyword-terms-low-cardinality 34.8979 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 212.204 ms
90th percentile latency composite-terms 217.917 ms
99th percentile latency composite-terms 228.097 ms
100th percentile latency composite-terms 230.794 ms
50th percentile service time composite-terms 210.547 ms
90th percentile service time composite-terms 216.331 ms
99th percentile service time composite-terms 226.862 ms
100th percentile service time composite-terms 230.429 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.787 ms
90th percentile latency composite_terms-keyword 379.867 ms
99th percentile latency composite_terms-keyword 386.767 ms
100th percentile latency composite_terms-keyword 386.789 ms
50th percentile service time composite_terms-keyword 373.686 ms
90th percentile service time composite_terms-keyword 378.777 ms
99th percentile service time composite_terms-keyword 386.004 ms
100th percentile service time composite_terms-keyword 386.214 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.4096 ms
90th percentile latency composite-date_histogram-daily 4.82575 ms
99th percentile latency composite-date_histogram-daily 5.00622 ms
100th percentile latency composite-date_histogram-daily 5.00712 ms
50th percentile service time composite-date_histogram-daily 3.07751 ms
90th percentile service time composite-date_histogram-daily 3.21938 ms
99th percentile service time composite-date_histogram-daily 3.37739 ms
100th percentile service time composite-date_histogram-daily 3.38104 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 5.75941 ms
90th percentile latency range 6.14049 ms
99th percentile latency range 6.26778 ms
100th percentile latency range 6.28781 ms
50th percentile service time range 4.45027 ms
90th percentile service time range 4.52151 ms
99th percentile service time range 4.58448 ms
100th percentile service time range 4.59195 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.5527 ms
90th percentile latency range-numeric 3.97464 ms
99th percentile latency range-numeric 4.15412 ms
100th percentile latency range-numeric 4.15752 ms
50th percentile service time range-numeric 2.26432 ms
90th percentile service time range-numeric 2.33312 ms
99th percentile service time range-numeric 2.52881 ms
100th percentile service time range-numeric 2.61447 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 14.1479 ms
90th percentile latency keyword-in-range 14.5975 ms
99th percentile latency keyword-in-range 19.5104 ms
100th percentile latency keyword-in-range 19.6224 ms
50th percentile service time keyword-in-range 12.7812 ms
90th percentile service time keyword-in-range 13.0871 ms
99th percentile service time keyword-in-range 18.3859 ms
100th percentile service time keyword-in-range 18.4507 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 7.60619 ms
90th percentile latency date_histogram_hourly_agg 8.75517 ms
99th percentile latency date_histogram_hourly_agg 9.03412 ms
100th percentile latency date_histogram_hourly_agg 9.06753 ms
50th percentile service time date_histogram_hourly_agg 6.04405 ms
90th percentile service time date_histogram_hourly_agg 7.32847 ms
99th percentile service time date_histogram_hourly_agg 7.6361 ms
100th percentile service time date_histogram_hourly_agg 7.69883 ms
error rate date_histogram_hourly_agg 0 %
Min Throughput date_histogram_minute_agg 2.01 ops/s
Mean Throughput date_histogram_minute_agg 2.01 ops/s
Median Throughput date_histogram_minute_agg 2.01 ops/s
Max Throughput date_histogram_minute_agg 2.01 ops/s
50th percentile latency date_histogram_minute_agg 41.3465 ms
90th percentile latency date_histogram_minute_agg 43.1555 ms
99th percentile latency date_histogram_minute_agg 55.6534 ms
100th percentile latency date_histogram_minute_agg 66.4148 ms
50th percentile service time date_histogram_minute_agg 40.0712 ms
90th percentile service time date_histogram_minute_agg 41.831 ms
99th percentile service time date_histogram_minute_agg 54.5753 ms
100th percentile service time date_histogram_minute_agg 65.5268 ms
error rate date_histogram_minute_agg 0 %
Min Throughput scroll 46.08 pages/s
Mean Throughput scroll 46.28 pages/s
Median Throughput scroll 46.29 pages/s
Max Throughput scroll 46.45 pages/s
50th percentile latency scroll 10065.4 ms
90th percentile latency scroll 11225.9 ms
99th percentile latency scroll 11476.3 ms
100th percentile latency scroll 11490.3 ms
50th percentile service time scroll 521.26 ms
90th percentile service time scroll 526.747 ms
99th percentile service time scroll 552.024 ms
100th percentile service time scroll 570.99 ms
error rate scroll 0 %
Min Throughput query-string-on-message 2.01 ops/s
Mean Throughput query-string-on-message 2.01 ops/s
Median Throughput query-string-on-message 2.01 ops/s
Max Throughput query-string-on-message 2.01 ops/s
50th percentile latency query-string-on-message 6.21642 ms
90th percentile latency query-string-on-message 6.75752 ms
99th percentile latency query-string-on-message 8.1543 ms
100th percentile latency query-string-on-message 8.31915 ms
50th percentile service time query-string-on-message 5.05923 ms
90th percentile service time query-string-on-message 5.18193 ms
99th percentile service time query-string-on-message 6.5588 ms
100th percentile service time query-string-on-message 6.75073 ms
error rate query-string-on-message 0 %
Min Throughput query-string-on-message-filtered 2.01 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 13.0483 ms
90th percentile latency query-string-on-message-filtered 13.4777 ms
99th percentile latency query-string-on-message-filtered 14.6109 ms
100th percentile latency query-string-on-message-filtered 14.6773 ms
50th percentile service time query-string-on-message-filtered 11.7144 ms
90th percentile service time query-string-on-message-filtered 11.8978 ms
99th percentile service time query-string-on-message-filtered 13.0717 ms
100th percentile service time query-string-on-message-filtered 13.1818 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 23.8023 ms
90th percentile latency query-string-on-message-filtered-sorted-num 24.368 ms
99th percentile latency query-string-on-message-filtered-sorted-num 33.2752 ms
100th percentile latency query-string-on-message-filtered-sorted-num 35.7513 ms
50th percentile service time query-string-on-message-filtered-sorted-num 21.4578 ms
90th percentile service time query-string-on-message-filtered-sorted-num 21.9759 ms
99th percentile service time query-string-on-message-filtered-sorted-num 30.9115 ms
100th percentile service time query-string-on-message-filtered-sorted-num 33.2002 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.75349 ms
90th percentile latency sort_keyword_can_match_shortcut 6.18119 ms
99th percentile latency sort_keyword_can_match_shortcut 6.58174 ms
100th percentile latency sort_keyword_can_match_shortcut 6.62249 ms
50th percentile service time sort_keyword_can_match_shortcut 4.46362 ms
90th percentile service time sort_keyword_can_match_shortcut 4.54591 ms
99th percentile service time sort_keyword_can_match_shortcut 5.2807 ms
100th percentile service time sort_keyword_can_match_shortcut 5.29087 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.80057 ms
90th percentile latency sort_keyword_no_can_match_shortcut 6.16451 ms
99th percentile latency sort_keyword_no_can_match_shortcut 6.58194 ms
100th percentile latency sort_keyword_no_can_match_shortcut 6.9138 ms
50th percentile service time sort_keyword_no_can_match_shortcut 4.45368 ms
90th percentile service time sort_keyword_no_can_match_shortcut 4.51374 ms
99th percentile service time sort_keyword_no_can_match_shortcut 4.99883 ms
100th percentile service time sort_keyword_no_can_match_shortcut 5.37898 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 5.8628 ms
90th percentile latency sort_numeric_desc 6.25464 ms
99th percentile latency sort_numeric_desc 6.39942 ms
100th percentile latency sort_numeric_desc 6.43761 ms
50th percentile service time sort_numeric_desc 4.5908 ms
90th percentile service time sort_numeric_desc 4.6895 ms
99th percentile service time sort_numeric_desc 5.09844 ms
100th percentile service time sort_numeric_desc 5.21525 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 5.46907 ms
90th percentile latency sort_numeric_asc 5.93079 ms
99th percentile latency sort_numeric_asc 6.07895 ms
100th percentile latency sort_numeric_asc 6.12794 ms
50th percentile service time sort_numeric_asc 4.26568 ms
90th percentile service time sort_numeric_asc 4.34968 ms
99th percentile service time sort_numeric_asc 4.40319 ms
100th percentile service time sort_numeric_asc 4.41403 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.58249 ms
90th percentile latency sort_numeric_desc_with_match 3.95532 ms
99th percentile latency sort_numeric_desc_with_match 4.07242 ms
100th percentile latency sort_numeric_desc_with_match 4.09063 ms
50th percentile service time sort_numeric_desc_with_match 2.30897 ms
90th percentile service time sort_numeric_desc_with_match 2.36545 ms
99th percentile service time sort_numeric_desc_with_match 2.45401 ms
100th percentile service time sort_numeric_desc_with_match 2.47006 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.83396 ms
90th percentile latency sort_numeric_asc_with_match 4.21231 ms
99th percentile latency sort_numeric_asc_with_match 4.36741 ms
100th percentile latency sort_numeric_asc_with_match 4.38992 ms
50th percentile service time sort_numeric_asc_with_match 2.58379 ms
90th percentile service time sort_numeric_asc_with_match 2.64722 ms
99th percentile service time sort_numeric_asc_with_match 2.74993 ms
100th percentile service time sort_numeric_asc_with_match 2.75814 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.7866 ms
90th percentile latency range_field_conjunction_big_range_big_term_query 4.19326 ms
99th percentile latency range_field_conjunction_big_range_big_term_query 7.92698 ms
100th percentile latency range_field_conjunction_big_range_big_term_query 11.1646 ms
50th percentile service time range_field_conjunction_big_range_big_term_query 2.48591 ms
90th percentile service time range_field_conjunction_big_range_big_term_query 2.55198 ms
99th percentile service time range_field_conjunction_big_range_big_term_query 6.32706 ms
100th percentile service time range_field_conjunction_big_range_big_term_query 9.96025 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.54375 ms
90th percentile latency range_field_disjunction_big_range_small_term_query 3.91166 ms
99th percentile latency range_field_disjunction_big_range_small_term_query 4.31365 ms
100th percentile latency range_field_disjunction_big_range_small_term_query 4.45268 ms
50th percentile service time range_field_disjunction_big_range_small_term_query 2.21861 ms
90th percentile service time range_field_disjunction_big_range_small_term_query 2.28518 ms
99th percentile service time range_field_disjunction_big_range_small_term_query 2.46027 ms
100th percentile service time range_field_disjunction_big_range_small_term_query 2.46372 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.40359 ms
90th percentile latency range_field_conjunction_small_range_small_term_query 3.92333 ms
99th percentile latency range_field_conjunction_small_range_small_term_query 4.69425 ms
100th percentile latency range_field_conjunction_small_range_small_term_query 4.70647 ms
50th percentile service time range_field_conjunction_small_range_small_term_query 2.23511 ms
90th percentile service time range_field_conjunction_small_range_small_term_query 2.2868 ms
99th percentile service time range_field_conjunction_small_range_small_term_query 2.39453 ms
100th percentile service time range_field_conjunction_small_range_small_term_query 2.47412 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.51471 ms
90th percentile latency range_field_conjunction_small_range_big_term_query 3.8232 ms
99th percentile latency range_field_conjunction_small_range_big_term_query 3.93775 ms
100th percentile latency range_field_conjunction_small_range_big_term_query 3.95633 ms
50th percentile service time range_field_conjunction_small_range_big_term_query 2.12896 ms
90th percentile service time range_field_conjunction_small_range_big_term_query 2.1701 ms
99th percentile service time range_field_conjunction_small_range_big_term_query 2.20714 ms
100th percentile service time range_field_conjunction_small_range_big_term_query 2.20816 ms
error rate range_field_conjunction_small_range_big_term_query 0 %
Min Throughput range-auto-date-histo 0.28 ops/s
Mean Throughput range-auto-date-histo 0.28 ops/s
Median Throughput range-auto-date-histo 0.28 ops/s
Max Throughput range-auto-date-histo 0.28 ops/s
50th percentile latency range-auto-date-histo 770761 ms
90th percentile latency range-auto-date-histo 893825 ms
99th percentile latency range-auto-date-histo 921363 ms
100th percentile latency range-auto-date-histo 922877 ms
50th percentile service time range-auto-date-histo 3558.52 ms
90th percentile service time range-auto-date-histo 3629.49 ms
99th percentile service time range-auto-date-histo 3783.2 ms
100th percentile service time range-auto-date-histo 3785.25 ms
error rate range-auto-date-histo 0 %
Min Throughput range-auto-date-histo-with-metrics 0.09 ops/s
Mean Throughput range-auto-date-histo-with-metrics 0.09 ops/s
Median Throughput range-auto-date-histo-with-metrics 0.09 ops/s
Max Throughput range-auto-date-histo-with-metrics 0.09 ops/s
50th percentile latency range-auto-date-histo-with-metrics 2.74348e+06 ms
90th percentile latency range-auto-date-histo-with-metrics 3.18137e+06 ms
99th percentile latency range-auto-date-histo-with-metrics 3.28016e+06 ms
100th percentile latency range-auto-date-histo-with-metrics 3.28564e+06 ms
50th percentile service time range-auto-date-histo-with-metrics 11423.6 ms
90th percentile service time range-auto-date-histo-with-metrics 11600.9 ms
99th percentile service time range-auto-date-histo-with-metrics 11718.1 ms
100th percentile service time range-auto-date-histo-with-metrics 11736 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 3.79026 ms
90th percentile latency range-agg-1 4.26468 ms
99th percentile latency range-agg-1 4.3773 ms
100th percentile latency range-agg-1 4.3881 ms
50th percentile service time range-agg-1 2.50296 ms
90th percentile service time range-agg-1 2.62452 ms
99th percentile service time range-agg-1 2.71045 ms
100th percentile service time range-agg-1 2.71598 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 3.80919 ms
90th percentile latency range-agg-2 4.19927 ms
99th percentile latency range-agg-2 4.39283 ms
100th percentile latency range-agg-2 4.39595 ms
50th percentile service time range-agg-2 2.53887 ms
90th percentile service time range-agg-2 2.67554 ms
99th percentile service time range-agg-2 2.81024 ms
100th percentile service time range-agg-2 2.91151 ms
error rate range-agg-2 0 %
Min Throughput cardinality-agg-low 2.01 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.33341 ms
90th percentile latency cardinality-agg-low 6.24987 ms
99th percentile latency cardinality-agg-low 7.01827 ms
100th percentile latency cardinality-agg-low 7.44756 ms
50th percentile service time cardinality-agg-low 3.85725 ms
90th percentile service time cardinality-agg-low 4.81641 ms
99th percentile service time cardinality-agg-low 4.94434 ms
100th percentile service time cardinality-agg-low 4.97513 ms
error rate cardinality-agg-low 0 %
Min Throughput cardinality-agg-high 0.67 ops/s
Mean Throughput cardinality-agg-high 0.67 ops/s
Median Throughput cardinality-agg-high 0.67 ops/s
Max Throughput cardinality-agg-high 0.67 ops/s
50th percentile latency cardinality-agg-high 247193 ms
90th percentile latency cardinality-agg-high 286521 ms
99th percentile latency cardinality-agg-high 295246 ms
100th percentile latency cardinality-agg-high 295727 ms
50th percentile service time cardinality-agg-high 1474.21 ms
90th percentile service time cardinality-agg-high 1525.83 ms
99th percentile service time cardinality-agg-high 1569.03 ms
100th percentile service time cardinality-agg-high 1586.3 ms
error rate cardinality-agg-high 0 %
Min Throughput cardinality-agg-very-high 0.51 ops/s
Mean Throughput cardinality-agg-very-high 0.52 ops/s
Median Throughput cardinality-agg-very-high 0.52 ops/s
Max Throughput cardinality-agg-very-high 0.52 ops/s
50th percentile latency cardinality-agg-very-high 144411 ms
90th percentile latency cardinality-agg-very-high 201545 ms
99th percentile latency cardinality-agg-very-high 214442 ms
100th percentile latency cardinality-agg-very-high 215155 ms
50th percentile service time cardinality-agg-very-high 1914.21 ms
90th percentile service time cardinality-agg-very-high 1962.39 ms
99th percentile service time cardinality-agg-very-high 2036.29 ms
100th percentile service time cardinality-agg-very-high 2064.48 ms
error rate cardinality-agg-very-high 0 %
Min Throughput range_with_asc_sort 2.01 ops/s
Mean Throughput range_with_asc_sort 2.01 ops/s
Median Throughput range_with_asc_sort 2.01 ops/s
Max Throughput range_with_asc_sort 2.01 ops/s
50th percentile latency range_with_asc_sort 7.77035 ms
90th percentile latency range_with_asc_sort 8.16902 ms
99th percentile latency range_with_asc_sort 8.71538 ms
100th percentile latency range_with_asc_sort 8.88866 ms
50th percentile service time range_with_asc_sort 6.48065 ms
90th percentile service time range_with_asc_sort 6.60068 ms
99th percentile service time range_with_asc_sort 7.18307 ms
100th percentile service time range_with_asc_sort 7.55306 ms
error rate range_with_asc_sort 0 %
Min Throughput range_with_desc_sort 2.01 ops/s
Mean Throughput range_with_desc_sort 2.01 ops/s
Median Throughput range_with_desc_sort 2.01 ops/s
Max Throughput range_with_desc_sort 2.01 ops/s
50th percentile latency range_with_desc_sort 8.10468 ms
90th percentile latency range_with_desc_sort 8.51269 ms
99th percentile latency range_with_desc_sort 8.61139 ms
100th percentile latency range_with_desc_sort 8.62226 ms
50th percentile service time range_with_desc_sort 6.85883 ms
90th percentile service time range_with_desc_sort 6.93895 ms
99th percentile service time range_with_desc_sort 7.01452 ms
100th percentile service time range_with_desc_sort 7.01675 ms
error rate range_with_desc_sort 0 %

@opensearch-ci-bot
Copy link
Collaborator

Benchmark Baseline Comparison Results

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

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.583 1.532 -0.051 s
Total Young Gen GC count 73 74 1
Total Old Gen GC time 0 0 0 s
Total Old Gen GC count 0 0 0
Store size 22.1056 22.1056 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 18 18 0
Min Throughput wait-for-snapshot-recovery 4.17913e+07 4.17542e+07 -37128 byte/s
Mean Throughput wait-for-snapshot-recovery 4.17913e+07 4.17542e+07 -37128 byte/s
Median Throughput wait-for-snapshot-recovery 4.17913e+07 4.17542e+07 -37128 byte/s
Max Throughput wait-for-snapshot-recovery 4.17913e+07 4.17542e+07 -37128 byte/s
100th percentile latency wait-for-snapshot-recovery 563255 563368 112.688 ms
100th percentile service time wait-for-snapshot-recovery 563255 563368 112.688 ms
error rate wait-for-snapshot-recovery 0 0 0 %
Min Throughput wait-until-merges-finish 112.702 99.196 -13.5056 ops/s
Mean Throughput wait-until-merges-finish 112.702 99.196 -13.5056 ops/s
Median Throughput wait-until-merges-finish 112.702 99.196 -13.5056 ops/s
Max Throughput wait-until-merges-finish 112.702 99.196 -13.5056 ops/s
100th percentile latency wait-until-merges-finish 8.40178 9.76997 1.36819 ms
100th percentile service time wait-until-merges-finish 8.40178 9.76997 1.36819 ms
error rate wait-until-merges-finish 0 0 0 %
Min Throughput default 2.00491 2.00476 -0.00015 ops/s
Mean Throughput default 2.00597 2.00577 -0.00019 ops/s
Median Throughput default 2.00588 2.00569 -0.00019 ops/s
Max Throughput default 2.00733 2.00708 -0.00024 ops/s
50th percentile latency default 6.07878 6.9231 0.84433 ms
90th percentile latency default 6.60702 7.3548 0.74778 ms
99th percentile latency default 7.44611 7.8622 0.4161 ms
100th percentile latency default 7.66216 8.10415 0.44199 ms
50th percentile service time default 4.77556 5.56972 0.79416 ms
90th percentile service time default 5.14459 5.91978 0.7752 ms
99th percentile service time default 6.11346 6.62134 0.50788 ms
100th percentile service time default 6.16484 6.76061 0.59577 ms
error rate default 0 0 0 %
Min Throughput desc_sort_timestamp 2.00494 2.00471 -0.00023 ops/s
Mean Throughput desc_sort_timestamp 2.006 2.00572 -0.00028 ops/s
Median Throughput desc_sort_timestamp 2.00592 2.00565 -0.00028 ops/s
Max Throughput desc_sort_timestamp 2.00737 2.00703 -0.00034 ops/s
50th percentile latency desc_sort_timestamp 8.02566 9.59222 1.56656 ms
90th percentile latency desc_sort_timestamp 8.73022 10.1087 1.37849 ms
99th percentile latency desc_sort_timestamp 9.94595 12.2685 2.32257 ms
100th percentile latency desc_sort_timestamp 10.0499 12.8915 2.84157 ms
50th percentile service time desc_sort_timestamp 6.70942 8.2056 1.49619 ms
90th percentile service time desc_sort_timestamp 7.32228 8.56498 1.2427 ms
99th percentile service time desc_sort_timestamp 8.26565 10.9897 2.72401 ms
100th percentile service time desc_sort_timestamp 8.94652 11.6527 2.70621 ms
error rate desc_sort_timestamp 0 0 0 %
Min Throughput asc_sort_timestamp 2.00631 2.0063 -1e-05 ops/s
Mean Throughput asc_sort_timestamp 2.00766 2.00765 -2e-05 ops/s
Median Throughput asc_sort_timestamp 2.00756 2.00754 -2e-05 ops/s
Max Throughput asc_sort_timestamp 2.0094 2.00939 -1e-05 ops/s
50th percentile latency asc_sort_timestamp 7.79273 8.88122 1.0885 ms
90th percentile latency asc_sort_timestamp 8.29914 9.39284 1.0937 ms
99th percentile latency asc_sort_timestamp 8.71293 35.6418 26.9288 ms
100th percentile latency asc_sort_timestamp 8.79713 59.0895 50.2924 ms
50th percentile service time asc_sort_timestamp 6.37474 7.57133 1.19659 ms
90th percentile service time asc_sort_timestamp 6.95248 8.05381 1.10133 ms
99th percentile service time asc_sort_timestamp 7.35696 34.1057 26.7487 ms
100th percentile service time asc_sort_timestamp 7.60764 57.7694 50.1617 ms
error rate asc_sort_timestamp 0 0 0 %
Min Throughput desc_sort_with_after_timestamp 2.00274 2.00295 0.00021 ops/s
Mean Throughput desc_sort_with_after_timestamp 2.00332 2.00359 0.00026 ops/s
Median Throughput desc_sort_with_after_timestamp 2.00328 2.00353 0.00025 ops/s
Max Throughput desc_sort_with_after_timestamp 2.00408 2.0044 0.00032 ops/s
50th percentile latency desc_sort_with_after_timestamp 169.017 175.358 6.34146 ms
90th percentile latency desc_sort_with_after_timestamp 178.833 185.197 6.36339 ms
99th percentile latency desc_sort_with_after_timestamp 227.647 216.072 -11.575 ms
100th percentile latency desc_sort_with_after_timestamp 228.763 225.618 -3.14502 ms
50th percentile service time desc_sort_with_after_timestamp 167.758 174.133 6.37466 ms
90th percentile service time desc_sort_with_after_timestamp 177.685 183.872 6.18786 ms
99th percentile service time desc_sort_with_after_timestamp 226.586 215.074 -11.512 ms
100th percentile service time desc_sort_with_after_timestamp 227.913 224.93 -2.98259 ms
error rate desc_sort_with_after_timestamp 0 0 0 %
Min Throughput asc_sort_with_after_timestamp 2.00383 2.00364 -0.00019 ops/s
Mean Throughput asc_sort_with_after_timestamp 2.00464 2.00441 -0.00023 ops/s
Median Throughput asc_sort_with_after_timestamp 2.00458 2.00435 -0.00022 ops/s
Max Throughput asc_sort_with_after_timestamp 2.00568 2.00542 -0.00026 ops/s
50th percentile latency asc_sort_with_after_timestamp 170.332 182.312 11.9806 ms
90th percentile latency asc_sort_with_after_timestamp 177.607 188.354 10.7464 ms
99th percentile latency asc_sort_with_after_timestamp 210.947 227.973 17.0258 ms
100th percentile latency asc_sort_with_after_timestamp 220.518 232.244 11.7263 ms
50th percentile service time asc_sort_with_after_timestamp 169.183 181.186 12.0027 ms
90th percentile service time asc_sort_with_after_timestamp 176.225 187.279 11.0539 ms
99th percentile service time asc_sort_with_after_timestamp 209.697 226.543 16.8456 ms
100th percentile service time asc_sort_with_after_timestamp 219.126 230.705 11.5795 ms
error rate asc_sort_with_after_timestamp 0 0 0 %
Min Throughput desc_sort_timestamp_can_match_shortcut 2.00485 2.00465 -0.00021 ops/s
Mean Throughput desc_sort_timestamp_can_match_shortcut 2.00589 2.00564 -0.00026 ops/s
Median Throughput desc_sort_timestamp_can_match_shortcut 2.00581 2.00555 -0.00026 ops/s
Max Throughput desc_sort_timestamp_can_match_shortcut 2.00724 2.00691 -0.00033 ops/s
50th percentile latency desc_sort_timestamp_can_match_shortcut 6.85865 7.98931 1.13066 ms
90th percentile latency desc_sort_timestamp_can_match_shortcut 7.55409 8.35815 0.80406 ms
99th percentile latency desc_sort_timestamp_can_match_shortcut 8.73133 9.25246 0.52113 ms
100th percentile latency desc_sort_timestamp_can_match_shortcut 9.30862 10.0035 0.69483 ms
50th percentile service time desc_sort_timestamp_can_match_shortcut 5.70611 6.65755 0.95143 ms
90th percentile service time desc_sort_timestamp_can_match_shortcut 6.13468 6.7788 0.64412 ms
99th percentile service time desc_sort_timestamp_can_match_shortcut 7.62531 7.95869 0.33337 ms
100th percentile service time desc_sort_timestamp_can_match_shortcut 8.31354 8.56691 0.25336 ms
error rate desc_sort_timestamp_can_match_shortcut 0 0 0 %
Min Throughput desc_sort_timestamp_no_can_match_shortcut 2.00654 2.00652 -2e-05 ops/s
Mean Throughput desc_sort_timestamp_no_can_match_shortcut 2.00793 2.00792 -1e-05 ops/s
Median Throughput desc_sort_timestamp_no_can_match_shortcut 2.00783 2.00781 -1e-05 ops/s
Max Throughput desc_sort_timestamp_no_can_match_shortcut 2.00974 2.00972 -3e-05 ops/s
50th percentile latency desc_sort_timestamp_no_can_match_shortcut 7.20389 7.96233 0.75844 ms
90th percentile latency desc_sort_timestamp_no_can_match_shortcut 7.58888 8.30642 0.71754 ms
99th percentile latency desc_sort_timestamp_no_can_match_shortcut 33.9519 35.2022 1.2503 ms
100th percentile latency desc_sort_timestamp_no_can_match_shortcut 59.271 61.9856 2.7146 ms
50th percentile service time desc_sort_timestamp_no_can_match_shortcut 5.85369 6.63129 0.7776 ms
90th percentile service time desc_sort_timestamp_no_can_match_shortcut 6.01891 6.74509 0.72618 ms
99th percentile service time desc_sort_timestamp_no_can_match_shortcut 32.7494 33.7796 1.03019 ms
100th percentile service time desc_sort_timestamp_no_can_match_shortcut 58.2668 60.5066 2.23983 ms
error rate desc_sort_timestamp_no_can_match_shortcut 0 0 0 %
Min Throughput asc_sort_timestamp_can_match_shortcut 2.00651 2.00652 1e-05 ops/s
Mean Throughput asc_sort_timestamp_can_match_shortcut 2.00791 2.00791 -0 ops/s
Median Throughput asc_sort_timestamp_can_match_shortcut 2.00781 2.00781 0 ops/s
Max Throughput asc_sort_timestamp_can_match_shortcut 2.00971 2.00971 1e-05 ops/s
50th percentile latency asc_sort_timestamp_can_match_shortcut 7.85976 8.47613 0.61637 ms
90th percentile latency asc_sort_timestamp_can_match_shortcut 8.26273 8.85744 0.59472 ms
99th percentile latency asc_sort_timestamp_can_match_shortcut 29.1094 9.05315 -20.0563 ms
100th percentile latency asc_sort_timestamp_can_match_shortcut 49.013 9.06081 -39.9522 ms
50th percentile service time asc_sort_timestamp_can_match_shortcut 6.61896 7.16397 0.54501 ms
90th percentile service time asc_sort_timestamp_can_match_shortcut 6.80932 7.30758 0.49826 ms
99th percentile service time asc_sort_timestamp_can_match_shortcut 27.9255 7.40054 -20.525 ms
100th percentile service time asc_sort_timestamp_can_match_shortcut 47.6829 7.4013 -40.2816 ms
error rate asc_sort_timestamp_can_match_shortcut 0 0 0 %
Min Throughput asc_sort_timestamp_no_can_match_shortcut 2.00652 2.00651 -1e-05 ops/s
Mean Throughput asc_sort_timestamp_no_can_match_shortcut 2.00791 2.0079 -1e-05 ops/s
Median Throughput asc_sort_timestamp_no_can_match_shortcut 2.0078 2.0078 -0 ops/s
Max Throughput asc_sort_timestamp_no_can_match_shortcut 2.00971 2.00971 -0 ops/s
50th percentile latency asc_sort_timestamp_no_can_match_shortcut 8.23258 8.8119 0.57932 ms
90th percentile latency asc_sort_timestamp_no_can_match_shortcut 8.64859 9.23802 0.58943 ms
99th percentile latency asc_sort_timestamp_no_can_match_shortcut 10.2972 9.34936 -0.9478 ms
100th percentile latency asc_sort_timestamp_no_can_match_shortcut 10.3448 9.38233 -0.96246 ms
50th percentile service time asc_sort_timestamp_no_can_match_shortcut 6.91901 7.4973 0.57829 ms
90th percentile service time asc_sort_timestamp_no_can_match_shortcut 7.08293 7.65681 0.57389 ms
99th percentile service time asc_sort_timestamp_no_can_match_shortcut 8.64528 8.10971 -0.53557 ms
100th percentile service time asc_sort_timestamp_no_can_match_shortcut 8.64759 8.24332 -0.40428 ms
error rate asc_sort_timestamp_no_can_match_shortcut 0 0 0 %
Min Throughput term 2.00644 2.00641 -3e-05 ops/s
Mean Throughput term 2.00782 2.00777 -5e-05 ops/s
Median Throughput term 2.00771 2.00767 -4e-05 ops/s
Max Throughput term 2.0096 2.00954 -6e-05 ops/s
50th percentile latency term 3.68265 3.78672 0.10407 ms
90th percentile latency term 4.10947 4.17677 0.0673 ms
99th percentile latency term 4.34731 4.35322 0.00591 ms
100th percentile latency term 4.36293 4.35458 -0.00835 ms
50th percentile service time term 2.47436 2.52104 0.04668 ms
90th percentile service time term 2.59091 2.6277 0.03679 ms
99th percentile service time term 2.74276 2.72618 -0.01658 ms
100th percentile service time term 2.80924 2.75818 -0.05106 ms
error rate term 0 0 0 %
Min Throughput multi_terms-keyword 1.44386 1.3624 -0.08146 ops/s
Mean Throughput multi_terms-keyword 1.44626 1.36385 -0.08241 ops/s
Median Throughput multi_terms-keyword 1.44642 1.36385 -0.08257 ops/s
Max Throughput multi_terms-keyword 1.44781 1.3651 -0.08271 ops/s
50th percentile latency multi_terms-keyword 47943.8 58650.1 10706.3 ms
90th percentile latency multi_terms-keyword 55439.1 67811.9 12372.8 ms
99th percentile latency multi_terms-keyword 57131 69913.5 12782.5 ms
100th percentile latency multi_terms-keyword 57225.5 70024.8 12799.3 ms
50th percentile service time multi_terms-keyword 685.086 726.651 41.5652 ms
90th percentile service time multi_terms-keyword 693.208 736.428 43.2203 ms
99th percentile service time multi_terms-keyword 756.293 761.73 5.43729 ms
100th percentile service time multi_terms-keyword 785.475 767.07 -18.4053 ms
error rate multi_terms-keyword 0 0 0 %
Min Throughput keyword-terms 2.00328 2.00354 0.00026 ops/s
Mean Throughput keyword-terms 2.00397 2.0043 0.00033 ops/s
Median Throughput keyword-terms 2.00391 2.00423 0.00032 ops/s
Max Throughput keyword-terms 2.00486 2.00527 0.00042 ops/s
50th percentile latency keyword-terms 25.3565 26.7416 1.38508 ms
90th percentile latency keyword-terms 38.3728 40.6467 2.27383 ms
99th percentile latency keyword-terms 39.668 41.4699 1.80187 ms
100th percentile latency keyword-terms 39.7275 41.7088 1.9813 ms
50th percentile service time keyword-terms 23.1855 24.4715 1.28601 ms
90th percentile service time keyword-terms 36.1861 38.4425 2.2564 ms
99th percentile service time keyword-terms 37.2037 39.0708 1.86705 ms
100th percentile service time keyword-terms 37.2528 39.1593 1.90651 ms
error rate keyword-terms 0 0 0 %
Min Throughput keyword-terms-low-cardinality 2.00617 2.00632 0.00015 ops/s
Mean Throughput keyword-terms-low-cardinality 2.00748 2.00766 0.00018 ops/s
Median Throughput keyword-terms-low-cardinality 2.00738 2.00756 0.00018 ops/s
Max Throughput keyword-terms-low-cardinality 2.00918 2.00941 0.00023 ops/s
50th percentile latency keyword-terms-low-cardinality 21.9697 23.5147 1.54503 ms
90th percentile latency keyword-terms-low-cardinality 34.3706 36.5211 2.15044 ms
99th percentile latency keyword-terms-low-cardinality 35.2767 36.9262 1.64948 ms
100th percentile latency keyword-terms-low-cardinality 35.7881 36.9311 1.14299 ms
50th percentile service time keyword-terms-low-cardinality 19.8561 21.379 1.52286 ms
90th percentile service time keyword-terms-low-cardinality 32.1816 34.2104 2.0288 ms
99th percentile service time keyword-terms-low-cardinality 32.8145 34.6463 1.83183 ms
100th percentile service time keyword-terms-low-cardinality 33.2207 34.8979 1.67725 ms
error rate keyword-terms-low-cardinality 0 0 0 %
Min Throughput composite-terms 2.00258 2.00241 -0.00017 ops/s
Mean Throughput composite-terms 2.00313 2.00292 -0.00021 ops/s
Median Throughput composite-terms 2.00308 2.00287 -0.00021 ops/s
Max Throughput composite-terms 2.00383 2.00358 -0.00026 ops/s
50th percentile latency composite-terms 199.206 212.204 12.9979 ms
90th percentile latency composite-terms 203.153 217.917 14.7644 ms
99th percentile latency composite-terms 213.009 228.097 15.0878 ms
100th percentile latency composite-terms 213.103 230.794 17.6906 ms
50th percentile service time composite-terms 198.126 210.547 12.4209 ms
90th percentile service time composite-terms 201.94 216.331 14.3906 ms
99th percentile service time composite-terms 211.878 226.862 14.9844 ms
100th percentile service time composite-terms 211.989 230.429 18.4403 ms
error rate composite-terms 0 0 0 %
Min Throughput composite_terms-keyword 2.00208 2.00117 -0.00091 ops/s
Mean Throughput composite_terms-keyword 2.00252 2.00142 -0.0011 ops/s
Median Throughput composite_terms-keyword 2.00249 2.0014 -0.00109 ops/s
Max Throughput composite_terms-keyword 2.0031 2.00173 -0.00137 ops/s
50th percentile latency composite_terms-keyword 331.183 374.787 43.6034 ms
90th percentile latency composite_terms-keyword 339.263 379.867 40.6031 ms
99th percentile latency composite_terms-keyword 362.953 386.767 23.8139 ms
100th percentile latency composite_terms-keyword 375.923 386.789 10.8654 ms
50th percentile service time composite_terms-keyword 329.938 373.686 43.7477 ms
90th percentile service time composite_terms-keyword 338.59 378.777 40.1878 ms
99th percentile service time composite_terms-keyword 362.147 386.004 23.857 ms
100th percentile service time composite_terms-keyword 375.222 386.214 10.9923 ms
error rate composite_terms-keyword 0 0 0 %
Min Throughput composite-date_histogram-daily 2.00618 2.00616 -2e-05 ops/s
Mean Throughput composite-date_histogram-daily 2.00749 2.00746 -2e-05 ops/s
Median Throughput composite-date_histogram-daily 2.00739 2.00736 -2e-05 ops/s
Max Throughput composite-date_histogram-daily 2.00919 2.00916 -3e-05 ops/s
50th percentile latency composite-date_histogram-daily 3.87061 4.4096 0.53899 ms
90th percentile latency composite-date_histogram-daily 4.37685 4.82575 0.44891 ms
99th percentile latency composite-date_histogram-daily 4.52636 5.00622 0.47986 ms
100th percentile latency composite-date_histogram-daily 4.52926 5.00712 0.47786 ms
50th percentile service time composite-date_histogram-daily 2.56844 3.07751 0.50907 ms
90th percentile service time composite-date_histogram-daily 2.78687 3.21938 0.43251 ms
99th percentile service time composite-date_histogram-daily 3.29518 3.37739 0.08221 ms
100th percentile service time composite-date_histogram-daily 3.56737 3.38104 -0.18633 ms
error rate composite-date_histogram-daily 0 0 0 %
Min Throughput range 2.00652 2.00647 -5e-05 ops/s
Mean Throughput range 2.00791 2.00785 -6e-05 ops/s
Median Throughput range 2.00781 2.00775 -6e-05 ops/s
Max Throughput range 2.00971 2.00963 -8e-05 ops/s
50th percentile latency range 5.15725 5.75941 0.60216 ms
90th percentile latency range 5.55324 6.14049 0.58725 ms
99th percentile latency range 6.01491 6.26778 0.25286 ms
100th percentile latency range 6.0466 6.28781 0.24121 ms
50th percentile service time range 3.86694 4.45027 0.58332 ms
90th percentile service time range 4.01251 4.52151 0.50901 ms
99th percentile service time range 4.64076 4.58448 -0.05628 ms
100th percentile service time range 4.70674 4.59195 -0.11479 ms
error rate range 0 0 0 %
Min Throughput range-numeric 2.00656 2.00654 -2e-05 ops/s
Mean Throughput range-numeric 2.00796 2.00795 -1e-05 ops/s
Median Throughput range-numeric 2.00785 2.00784 -1e-05 ops/s
Max Throughput range-numeric 2.00976 2.00976 -0 ops/s
50th percentile latency range-numeric 3.52062 3.5527 0.03208 ms
90th percentile latency range-numeric 3.90213 3.97464 0.07252 ms
99th percentile latency range-numeric 4.08458 4.15412 0.06954 ms
100th percentile latency range-numeric 4.15265 4.15752 0.00487 ms
50th percentile service time range-numeric 2.24264 2.26432 0.02169 ms
90th percentile service time range-numeric 2.33095 2.33312 0.00217 ms
99th percentile service time range-numeric 2.46628 2.52881 0.06253 ms
100th percentile service time range-numeric 2.51379 2.61447 0.10068 ms
error rate range-numeric 0 0 0 %
Min Throughput keyword-in-range 2.00589 2.00564 -0.00024 ops/s
Mean Throughput keyword-in-range 2.00714 2.00685 -0.00029 ops/s
Median Throughput keyword-in-range 2.00704 2.00676 -0.00029 ops/s
Max Throughput keyword-in-range 2.00877 2.00842 -0.00035 ops/s
50th percentile latency keyword-in-range 13.7678 14.1479 0.38005 ms
90th percentile latency keyword-in-range 14.25 14.5975 0.34746 ms
99th percentile latency keyword-in-range 19.8192 19.5104 -0.30878 ms
100th percentile latency keyword-in-range 19.8557 19.6224 -0.23326 ms
50th percentile service time keyword-in-range 12.3993 12.7812 0.38193 ms
90th percentile service time keyword-in-range 12.6663 13.0871 0.42085 ms
99th percentile service time keyword-in-range 18.2794 18.3859 0.10653 ms
100th percentile service time keyword-in-range 18.5138 18.4507 -0.06312 ms
error rate keyword-in-range 0 0 0 %
Min Throughput date_histogram_hourly_agg 2.00531 2.00523 -8e-05 ops/s
Mean Throughput date_histogram_hourly_agg 2.00645 2.00635 -0.0001 ops/s
Median Throughput date_histogram_hourly_agg 2.00636 2.00626 -0.0001 ops/s
Max Throughput date_histogram_hourly_agg 2.00792 2.00779 -0.00013 ops/s
50th percentile latency date_histogram_hourly_agg 7.04075 7.60619 0.56544 ms
90th percentile latency date_histogram_hourly_agg 8.52404 8.75517 0.23113 ms
99th percentile latency date_histogram_hourly_agg 9.01905 9.03412 0.01507 ms
100th percentile latency date_histogram_hourly_agg 9.24032 9.06753 -0.17279 ms
50th percentile service time date_histogram_hourly_agg 5.56398 6.04405 0.48007 ms
90th percentile service time date_histogram_hourly_agg 7.01442 7.32847 0.31404 ms
99th percentile service time date_histogram_hourly_agg 7.6411 7.6361 -0.005 ms
100th percentile service time date_histogram_hourly_agg 8.01814 7.69883 -0.31931 ms
error rate date_histogram_hourly_agg 0 0 0 %
Min Throughput date_histogram_minute_agg 2.00592 2.00588 -4e-05 ops/s
Mean Throughput date_histogram_minute_agg 2.00719 2.00713 -6e-05 ops/s
Median Throughput date_histogram_minute_agg 2.0071 2.00704 -6e-05 ops/s
Max Throughput date_histogram_minute_agg 2.00884 2.00876 -8e-05 ops/s
50th percentile latency date_histogram_minute_agg 40.3282 41.3465 1.01829 ms
90th percentile latency date_histogram_minute_agg 41.0918 43.1555 2.0637 ms
99th percentile latency date_histogram_minute_agg 43.6414 55.6534 12.012 ms
100th percentile latency date_histogram_minute_agg 43.7756 66.4148 22.6392 ms
50th percentile service time date_histogram_minute_agg 38.9541 40.0712 1.11705 ms
90th percentile service time date_histogram_minute_agg 40.0831 41.831 1.74788 ms
99th percentile service time date_histogram_minute_agg 42.3725 54.5753 12.2028 ms
100th percentile service time date_histogram_minute_agg 42.4039 65.5268 23.1229 ms
error rate date_histogram_minute_agg 0 0 0 %
Min Throughput scroll 45.0299 46.0807 1.05079 pages/s
Mean Throughput scroll 45.1041 46.2834 1.1793 pages/s
Median Throughput scroll 45.1103 46.2909 1.18068 pages/s
Max Throughput scroll 45.2153 46.4478 1.23248 pages/s
50th percentile latency scroll 13663.4 10065.4 -3598 ms
90th percentile latency scroll 16169 11225.9 -4943.08 ms
99th percentile latency scroll 16691.6 11476.3 -5215.23 ms
100th percentile latency scroll 16723.2 11490.3 -5232.89 ms
50th percentile service time scroll 552.093 521.26 -30.8329 ms
90th percentile service time scroll 561.991 526.747 -35.2437 ms
99th percentile service time scroll 614.516 552.024 -62.4919 ms
100th percentile service time scroll 641.455 570.99 -70.4652 ms
error rate scroll 0 0 0 %
Min Throughput query-string-on-message 2.00538 2.00535 -3e-05 ops/s
Mean Throughput query-string-on-message 2.00653 2.0065 -3e-05 ops/s
Median Throughput query-string-on-message 2.00644 2.00641 -3e-05 ops/s
Max Throughput query-string-on-message 2.00801 2.00797 -4e-05 ops/s
50th percentile latency query-string-on-message 6.88703 6.21642 -0.67061 ms
90th percentile latency query-string-on-message 7.27168 6.75752 -0.51416 ms
99th percentile latency query-string-on-message 7.4839 8.1543 0.6704 ms
100th percentile latency query-string-on-message 7.50467 8.31915 0.81448 ms
50th percentile service time query-string-on-message 5.5905 5.05923 -0.53127 ms
90th percentile service time query-string-on-message 5.74701 5.18193 -0.56508 ms
99th percentile service time query-string-on-message 5.89487 6.5588 0.66393 ms
100th percentile service time query-string-on-message 5.92925 6.75073 0.82148 ms
error rate query-string-on-message 0 0 0 %
Min Throughput query-string-on-message-filtered 2.00637 2.00634 -2e-05 ops/s
Mean Throughput query-string-on-message-filtered 2.00773 2.00769 -4e-05 ops/s
Median Throughput query-string-on-message-filtered 2.00762 2.00759 -3e-05 ops/s
Max Throughput query-string-on-message-filtered 2.0095 2.00945 -4e-05 ops/s
50th percentile latency query-string-on-message-filtered 13.7681 13.0483 -0.71981 ms
90th percentile latency query-string-on-message-filtered 14.2477 13.4777 -0.77002 ms
99th percentile latency query-string-on-message-filtered 15.2254 14.6109 -0.61444 ms
100th percentile latency query-string-on-message-filtered 15.7325 14.6773 -1.05524 ms
50th percentile service time query-string-on-message-filtered 12.522 11.7144 -0.80762 ms
90th percentile service time query-string-on-message-filtered 12.8378 11.8978 -0.94002 ms
99th percentile service time query-string-on-message-filtered 13.7178 13.0717 -0.64603 ms
100th percentile service time query-string-on-message-filtered 14.051 13.1818 -0.8692 ms
error rate query-string-on-message-filtered 0 0 0 %
Min Throughput query-string-on-message-filtered-sorted-num 2.00602 2.00583 -0.0002 ops/s
Mean Throughput query-string-on-message-filtered-sorted-num 2.00731 2.00707 -0.00024 ops/s
Median Throughput query-string-on-message-filtered-sorted-num 2.00721 2.00698 -0.00023 ops/s
Max Throughput query-string-on-message-filtered-sorted-num 2.00897 2.00867 -0.0003 ops/s
50th percentile latency query-string-on-message-filtered-sorted-num 25.1359 23.8023 -1.33362 ms
90th percentile latency query-string-on-message-filtered-sorted-num 25.7062 24.368 -1.33822 ms
99th percentile latency query-string-on-message-filtered-sorted-num 33.7285 33.2752 -0.4533 ms
100th percentile latency query-string-on-message-filtered-sorted-num 38.2776 35.7513 -2.52627 ms
50th percentile service time query-string-on-message-filtered-sorted-num 22.8565 21.4578 -1.39869 ms
90th percentile service time query-string-on-message-filtered-sorted-num 23.4169 21.9759 -1.44103 ms
99th percentile service time query-string-on-message-filtered-sorted-num 31.3297 30.9115 -0.41828 ms
100th percentile service time query-string-on-message-filtered-sorted-num 35.7584 33.2002 -2.55811 ms
error rate query-string-on-message-filtered-sorted-num 0 0 0 %
Min Throughput sort_keyword_can_match_shortcut 2.00639 2.00641 2e-05 ops/s
Mean Throughput sort_keyword_can_match_shortcut 2.00775 2.00777 2e-05 ops/s
Median Throughput sort_keyword_can_match_shortcut 2.00764 2.00766 2e-05 ops/s
Max Throughput sort_keyword_can_match_shortcut 2.00952 2.00953 1e-05 ops/s
50th percentile latency sort_keyword_can_match_shortcut 5.90557 5.75349 -0.15207 ms
90th percentile latency sort_keyword_can_match_shortcut 6.35733 6.18119 -0.17613 ms
99th percentile latency sort_keyword_can_match_shortcut 6.58316 6.58174 -0.00142 ms
100th percentile latency sort_keyword_can_match_shortcut 6.64056 6.62249 -0.01807 ms
50th percentile service time sort_keyword_can_match_shortcut 4.58278 4.46362 -0.11916 ms
90th percentile service time sort_keyword_can_match_shortcut 4.85943 4.54591 -0.31352 ms
99th percentile service time sort_keyword_can_match_shortcut 5.16654 5.2807 0.11416 ms
100th percentile service time sort_keyword_can_match_shortcut 5.30791 5.29087 -0.01704 ms
error rate sort_keyword_can_match_shortcut 0 0 0 %
Min Throughput sort_keyword_no_can_match_shortcut 2.00655 2.00656 1e-05 ops/s
Mean Throughput sort_keyword_no_can_match_shortcut 2.00794 2.00796 1e-05 ops/s
Median Throughput sort_keyword_no_can_match_shortcut 2.00784 2.00786 2e-05 ops/s
Max Throughput sort_keyword_no_can_match_shortcut 2.00976 2.00977 1e-05 ops/s
50th percentile latency sort_keyword_no_can_match_shortcut 6.20864 5.80057 -0.40807 ms
90th percentile latency sort_keyword_no_can_match_shortcut 6.63069 6.16451 -0.46618 ms
99th percentile latency sort_keyword_no_can_match_shortcut 7.13701 6.58194 -0.55508 ms
100th percentile latency sort_keyword_no_can_match_shortcut 7.22778 6.9138 -0.31398 ms
50th percentile service time sort_keyword_no_can_match_shortcut 4.84941 4.45368 -0.39573 ms
90th percentile service time sort_keyword_no_can_match_shortcut 4.94307 4.51374 -0.42933 ms
99th percentile service time sort_keyword_no_can_match_shortcut 5.05389 4.99883 -0.05506 ms
100th percentile service time sort_keyword_no_can_match_shortcut 5.06196 5.37898 0.31702 ms
error rate sort_keyword_no_can_match_shortcut 0 0 0 %
Min Throughput sort_numeric_desc 2.00551 2.00527 -0.00024 ops/s
Mean Throughput sort_numeric_desc 2.00669 2.0064 -0.00029 ops/s
Median Throughput sort_numeric_desc 2.0066 2.00632 -0.00028 ops/s
Max Throughput sort_numeric_desc 2.00821 2.00786 -0.00035 ops/s
50th percentile latency sort_numeric_desc 5.80169 5.8628 0.06111 ms
90th percentile latency sort_numeric_desc 6.24801 6.25464 0.00663 ms
99th percentile latency sort_numeric_desc 6.97634 6.39942 -0.57692 ms
100th percentile latency sort_numeric_desc 7.03487 6.43761 -0.59726 ms
50th percentile service time sort_numeric_desc 4.51026 4.5908 0.08054 ms
90th percentile service time sort_numeric_desc 4.60788 4.6895 0.08162 ms
99th percentile service time sort_numeric_desc 5.18458 5.09844 -0.08614 ms
100th percentile service time sort_numeric_desc 5.45883 5.21525 -0.24357 ms
error rate sort_numeric_desc 0 0 0 %
Min Throughput sort_numeric_asc 2.00647 2.00642 -5e-05 ops/s
Mean Throughput sort_numeric_asc 2.00784 2.00778 -5e-05 ops/s
Median Throughput sort_numeric_asc 2.00774 2.00768 -6e-05 ops/s
Max Throughput sort_numeric_asc 2.00963 2.00957 -6e-05 ops/s
50th percentile latency sort_numeric_asc 5.3128 5.46907 0.15627 ms
90th percentile latency sort_numeric_asc 5.74621 5.93079 0.18458 ms
99th percentile latency sort_numeric_asc 5.87151 6.07895 0.20745 ms
100th percentile latency sort_numeric_asc 5.8748 6.12794 0.25315 ms
50th percentile service time sort_numeric_asc 4.03643 4.26568 0.22924 ms
90th percentile service time sort_numeric_asc 4.12091 4.34968 0.22876 ms
99th percentile service time sort_numeric_asc 4.556 4.40319 -0.15281 ms
100th percentile service time sort_numeric_asc 4.79607 4.41403 -0.38204 ms
error rate sort_numeric_asc 0 0 0 %
Min Throughput sort_numeric_desc_with_match 2.00652 2.00654 2e-05 ops/s
Mean Throughput sort_numeric_desc_with_match 2.00792 2.00793 1e-05 ops/s
Median Throughput sort_numeric_desc_with_match 2.00781 2.00782 1e-05 ops/s
Max Throughput sort_numeric_desc_with_match 2.00973 2.00974 1e-05 ops/s
50th percentile latency sort_numeric_desc_with_match 3.63691 3.58249 -0.05442 ms
90th percentile latency sort_numeric_desc_with_match 4.05977 3.95532 -0.10445 ms
99th percentile latency sort_numeric_desc_with_match 4.18854 4.07242 -0.11612 ms
100th percentile latency sort_numeric_desc_with_match 4.23201 4.09063 -0.14139 ms
50th percentile service time sort_numeric_desc_with_match 2.35197 2.30897 -0.043 ms
90th percentile service time sort_numeric_desc_with_match 2.40979 2.36545 -0.04435 ms
99th percentile service time sort_numeric_desc_with_match 2.48261 2.45401 -0.02861 ms
100th percentile service time sort_numeric_desc_with_match 2.49069 2.47006 -0.02064 ms
error rate sort_numeric_desc_with_match 0 0 0 %
Min Throughput sort_numeric_asc_with_match 2.00659 2.00658 -2e-05 ops/s
Mean Throughput sort_numeric_asc_with_match 2.00799 2.00798 -1e-05 ops/s
Median Throughput sort_numeric_asc_with_match 2.00789 2.00786 -2e-05 ops/s
Max Throughput sort_numeric_asc_with_match 2.00981 2.00979 -2e-05 ops/s
50th percentile latency sort_numeric_asc_with_match 3.63371 3.83396 0.20024 ms
90th percentile latency sort_numeric_asc_with_match 4.03167 4.21231 0.18063 ms
99th percentile latency sort_numeric_asc_with_match 4.69462 4.36741 -0.32721 ms
100th percentile latency sort_numeric_asc_with_match 4.80593 4.38992 -0.41601 ms
50th percentile service time sort_numeric_asc_with_match 2.30473 2.58379 0.27905 ms
90th percentile service time sort_numeric_asc_with_match 2.37668 2.64722 0.27055 ms
99th percentile service time sort_numeric_asc_with_match 2.46076 2.74993 0.28918 ms
100th percentile service time sort_numeric_asc_with_match 2.47639 2.75814 0.28176 ms
error rate sort_numeric_asc_with_match 0 0 0 %
Min Throughput range_field_conjunction_big_range_big_term_query 2.00658 2.00657 -1e-05 ops/s
Mean Throughput range_field_conjunction_big_range_big_term_query 2.00798 2.00798 -1e-05 ops/s
Median Throughput range_field_conjunction_big_range_big_term_query 2.00788 2.00786 -2e-05 ops/s
Max Throughput range_field_conjunction_big_range_big_term_query 2.00981 2.0098 -2e-05 ops/s
50th percentile latency range_field_conjunction_big_range_big_term_query 3.77623 3.7866 0.01037 ms
90th percentile latency range_field_conjunction_big_range_big_term_query 4.18755 4.19326 0.00571 ms
99th percentile latency range_field_conjunction_big_range_big_term_query 4.46403 7.92698 3.46296 ms
100th percentile latency range_field_conjunction_big_range_big_term_query 4.55237 11.1646 6.61218 ms
50th percentile service time range_field_conjunction_big_range_big_term_query 2.47804 2.48591 0.00787 ms
90th percentile service time range_field_conjunction_big_range_big_term_query 2.57182 2.55198 -0.01984 ms
99th percentile service time range_field_conjunction_big_range_big_term_query 2.94982 6.32706 3.37724 ms
100th percentile service time range_field_conjunction_big_range_big_term_query 3.20166 9.96025 6.7586 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.00796 2.00797 1e-05 ops/s
Median Throughput range_field_disjunction_big_range_small_term_query 2.00786 2.00786 0 ops/s
Max Throughput range_field_disjunction_big_range_small_term_query 2.00978 2.00979 1e-05 ops/s
50th percentile latency range_field_disjunction_big_range_small_term_query 3.74693 3.54375 -0.20317 ms
90th percentile latency range_field_disjunction_big_range_small_term_query 4.14689 3.91166 -0.23523 ms
99th percentile latency range_field_disjunction_big_range_small_term_query 4.35481 4.31365 -0.04117 ms
100th percentile latency range_field_disjunction_big_range_small_term_query 4.43145 4.45268 0.02123 ms
50th percentile service time range_field_disjunction_big_range_small_term_query 2.49502 2.21861 -0.27641 ms
90th percentile service time range_field_disjunction_big_range_small_term_query 2.5547 2.28518 -0.26952 ms
99th percentile service time range_field_disjunction_big_range_small_term_query 2.74095 2.46027 -0.28068 ms
100th percentile service time range_field_disjunction_big_range_small_term_query 2.76509 2.46372 -0.30137 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.0066 2e-05 ops/s
Mean Throughput range_field_conjunction_small_range_small_term_query 2.00799 2.008 1e-05 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.00983 0 ops/s
50th percentile latency range_field_conjunction_small_range_small_term_query 3.70885 3.40359 -0.30527 ms
90th percentile latency range_field_conjunction_small_range_small_term_query 4.10819 3.92333 -0.18487 ms
99th percentile latency range_field_conjunction_small_range_small_term_query 6.97882 4.69425 -2.28457 ms
100th percentile latency range_field_conjunction_small_range_small_term_query 7.76783 4.70647 -3.06136 ms
50th percentile service time range_field_conjunction_small_range_small_term_query 2.39582 2.23511 -0.16071 ms
90th percentile service time range_field_conjunction_small_range_small_term_query 2.47274 2.2868 -0.18594 ms
99th percentile service time range_field_conjunction_small_range_small_term_query 5.3504 2.39453 -2.95588 ms
100th percentile service time range_field_conjunction_small_range_small_term_query 6.20769 2.47412 -3.73357 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.00658 2.00658 1e-05 ops/s
Mean Throughput range_field_conjunction_small_range_big_term_query 2.00798 2.00799 1e-05 ops/s
Median Throughput range_field_conjunction_small_range_big_term_query 2.00787 2.00788 2e-05 ops/s
Max Throughput range_field_conjunction_small_range_big_term_query 2.00979 2.00981 2e-05 ops/s
50th percentile latency range_field_conjunction_small_range_big_term_query 3.66145 3.51471 -0.14675 ms
90th percentile latency range_field_conjunction_small_range_big_term_query 4.08517 3.8232 -0.26196 ms
99th percentile latency range_field_conjunction_small_range_big_term_query 4.15583 3.93775 -0.21807 ms
100th percentile latency range_field_conjunction_small_range_big_term_query 4.16507 3.95633 -0.20874 ms
50th percentile service time range_field_conjunction_small_range_big_term_query 2.396 2.12896 -0.26704 ms
90th percentile service time range_field_conjunction_small_range_big_term_query 2.45056 2.1701 -0.28046 ms
99th percentile service time range_field_conjunction_small_range_big_term_query 2.57134 2.20714 -0.36421 ms
100th percentile service time range_field_conjunction_small_range_big_term_query 2.58464 2.20816 -0.37648 ms
error rate range_field_conjunction_small_range_big_term_query 0 0 0 %
Min Throughput range-auto-date-histo 0.29148 0.27933 -0.01215 ops/s
Mean Throughput range-auto-date-histo 0.291693 0.27945 -0.01224 ops/s
Median Throughput range-auto-date-histo 0.291742 0.27947 -0.01227 ops/s
Max Throughput range-auto-date-histo 0.291911 0.279543 -0.01237 ops/s
50th percentile latency range-auto-date-histo 732700 770761 38061.2 ms
90th percentile latency range-auto-date-histo 850797 893825 43028.2 ms
99th percentile latency range-auto-date-histo 877089 921363 44274.4 ms
100th percentile latency range-auto-date-histo 878530 922877 44346.9 ms
50th percentile service time range-auto-date-histo 3430.33 3558.52 128.19 ms
90th percentile service time range-auto-date-histo 3476.88 3629.49 152.606 ms
99th percentile service time range-auto-date-histo 3704.96 3783.2 78.2362 ms
100th percentile service time range-auto-date-histo 3826.33 3785.25 -41.0828 ms
error rate range-auto-date-histo 0 0 0 %
Min Throughput range-auto-date-histo-with-metrics 0.0922296 0.0872782 -0.00495 ops/s
Mean Throughput range-auto-date-histo-with-metrics 0.0922959 0.0872979 -0.005 ops/s
Median Throughput range-auto-date-histo-with-metrics 0.0923006 0.0872983 -0.005 ops/s
Max Throughput range-auto-date-histo-with-metrics 0.0923534 0.0873104 -0.00504 ops/s
50th percentile latency range-auto-date-histo-with-metrics 2.58973e+06 2.74348e+06 153749 ms
90th percentile latency range-auto-date-histo-with-metrics 3.00086e+06 3.18137e+06 180508 ms
99th percentile latency range-auto-date-histo-with-metrics 3.09373e+06 3.28016e+06 186433 ms
100th percentile latency range-auto-date-histo-with-metrics 3.0989e+06 3.28564e+06 186741 ms
50th percentile service time range-auto-date-histo-with-metrics 10821.6 11423.6 601.972 ms
90th percentile service time range-auto-date-histo-with-metrics 11002.6 11600.9 598.388 ms
99th percentile service time range-auto-date-histo-with-metrics 11077.3 11718.1 640.809 ms
100th percentile service time range-auto-date-histo-with-metrics 11077.4 11736 658.634 ms
error rate range-auto-date-histo-with-metrics 0 0 0 %
Min Throughput range-agg-1 2.00658 2.00658 -0 ops/s
Mean Throughput range-agg-1 2.00798 2.00798 -0 ops/s
Median Throughput range-agg-1 2.00786 2.00787 0 ops/s
Max Throughput range-agg-1 2.0098 2.00979 -1e-05 ops/s
50th percentile latency range-agg-1 4.01306 3.79026 -0.2228 ms
90th percentile latency range-agg-1 4.4237 4.26468 -0.15902 ms
99th percentile latency range-agg-1 4.54632 4.3773 -0.16903 ms
100th percentile latency range-agg-1 4.54961 4.3881 -0.16151 ms
50th percentile service time range-agg-1 2.69956 2.50296 -0.1966 ms
90th percentile service time range-agg-1 2.80489 2.62452 -0.18037 ms
99th percentile service time range-agg-1 3.11227 2.71045 -0.40182 ms
100th percentile service time range-agg-1 3.33494 2.71598 -0.61897 ms
error rate range-agg-1 0 0 0 %
Min Throughput range-agg-2 2.00659 2.00657 -2e-05 ops/s
Mean Throughput range-agg-2 2.00798 2.00798 -0 ops/s
Median Throughput range-agg-2 2.00788 2.00786 -1e-05 ops/s
Max Throughput range-agg-2 2.00981 2.00979 -1e-05 ops/s
50th percentile latency range-agg-2 3.96464 3.80919 -0.15545 ms
90th percentile latency range-agg-2 4.39513 4.19927 -0.19586 ms
99th percentile latency range-agg-2 4.55559 4.39283 -0.16277 ms
100th percentile latency range-agg-2 4.58523 4.39595 -0.18928 ms
50th percentile service time range-agg-2 2.66431 2.53887 -0.12544 ms
90th percentile service time range-agg-2 2.76617 2.67554 -0.09062 ms
99th percentile service time range-agg-2 2.83547 2.81024 -0.02523 ms
100th percentile service time range-agg-2 2.8505 2.91151 0.06101 ms
error rate range-agg-2 0 0 0 %
Min Throughput cardinality-agg-low 2.00623 2.00624 1e-05 ops/s
Mean Throughput cardinality-agg-low 2.00755 2.00756 1e-05 ops/s
Median Throughput cardinality-agg-low 2.00745 2.00746 1e-05 ops/s
Max Throughput cardinality-agg-low 2.00928 2.00929 1e-05 ops/s
50th percentile latency cardinality-agg-low 5.50623 5.33341 -0.17282 ms
90th percentile latency cardinality-agg-low 6.53384 6.24987 -0.28397 ms
99th percentile latency cardinality-agg-low 6.99106 7.01827 0.02721 ms
100th percentile latency cardinality-agg-low 7.00758 7.44756 0.43998 ms
50th percentile service time cardinality-agg-low 4.03946 3.85725 -0.1822 ms
90th percentile service time cardinality-agg-low 5.0647 4.81641 -0.24828 ms
99th percentile service time cardinality-agg-low 5.3384 4.94434 -0.39406 ms
100th percentile service time cardinality-agg-low 5.38233 4.97513 -0.4072 ms
error rate cardinality-agg-low 0 0 0 %
Min Throughput cardinality-agg-high 0.673352 0.673071 -0.00028 ops/s
Mean Throughput cardinality-agg-high 0.673512 0.673375 -0.00014 ops/s
Median Throughput cardinality-agg-high 0.673483 0.673377 -0.00011 ops/s
Max Throughput cardinality-agg-high 0.673846 0.67366 -0.00019 ops/s
50th percentile latency cardinality-agg-high 247171 247193 22.2734 ms
90th percentile latency cardinality-agg-high 286523 286521 -1.84375 ms
99th percentile latency cardinality-agg-high 295396 295246 -150.562 ms
100th percentile latency cardinality-agg-high 295875 295727 -147.656 ms
50th percentile service time cardinality-agg-high 1473.71 1474.21 0.5014 ms
90th percentile service time cardinality-agg-high 1523.78 1525.83 2.04907 ms
99th percentile service time cardinality-agg-high 1581.38 1569.03 -12.3519 ms
100th percentile service time cardinality-agg-high 1607.24 1586.3 -20.9395 ms
error rate cardinality-agg-high 0 0 0 %
Min Throughput cardinality-agg-very-high 0.515849 0.514002 -0.00185 ops/s
Mean Throughput cardinality-agg-very-high 0.517439 0.516722 -0.00072 ops/s
Median Throughput cardinality-agg-very-high 0.517689 0.517169 -0.00052 ops/s
Max Throughput cardinality-agg-very-high 0.518232 0.517769 -0.00046 ops/s
50th percentile latency cardinality-agg-very-high 144250 144411 161.516 ms
90th percentile latency cardinality-agg-very-high 201355 201545 190.281 ms
99th percentile latency cardinality-agg-very-high 214285 214442 156.969 ms
100th percentile latency cardinality-agg-very-high 215029 215155 126.469 ms
50th percentile service time cardinality-agg-very-high 1916.36 1914.21 -2.14111 ms
90th percentile service time cardinality-agg-very-high 1975.37 1962.39 -12.9795 ms
99th percentile service time cardinality-agg-very-high 2044.62 2036.29 -8.32666 ms
100th percentile service time cardinality-agg-very-high 2064.69 2064.48 -0.20532 ms
error rate cardinality-agg-very-high 0 0 0 %
Min Throughput range_with_asc_sort 2.00652 2.00651 -1e-05 ops/s
Mean Throughput range_with_asc_sort 2.00791 2.00789 -2e-05 ops/s
Median Throughput range_with_asc_sort 2.00781 2.00779 -1e-05 ops/s
Max Throughput range_with_asc_sort 2.00972 2.0097 -1e-05 ops/s
50th percentile latency range_with_asc_sort 7.56524 7.77035 0.20511 ms
90th percentile latency range_with_asc_sort 8.06935 8.16902 0.09967 ms
99th percentile latency range_with_asc_sort 15.846 8.71538 -7.13063 ms
100th percentile latency range_with_asc_sort 22.6201 8.88866 -13.7314 ms
50th percentile service time range_with_asc_sort 6.31583 6.48065 0.16482 ms
90th percentile service time range_with_asc_sort 6.54954 6.60068 0.05114 ms
99th percentile service time range_with_asc_sort 14.5724 7.18307 -7.38937 ms
100th percentile service time range_with_asc_sort 21.6857 7.55306 -14.1326 ms
error rate range_with_asc_sort 0 0 0 %
Min Throughput range_with_desc_sort 2.00648 2.0065 1e-05 ops/s
Mean Throughput range_with_desc_sort 2.00787 2.00789 2e-05 ops/s
Median Throughput range_with_desc_sort 2.00776 2.00779 2e-05 ops/s
Max Throughput range_with_desc_sort 2.00967 2.0097 3e-05 ops/s
50th percentile latency range_with_desc_sort 8.02875 8.10468 0.07593 ms
90th percentile latency range_with_desc_sort 8.52231 8.51269 -0.00962 ms
99th percentile latency range_with_desc_sort 8.65193 8.61139 -0.04054 ms
100th percentile latency range_with_desc_sort 8.70974 8.62226 -0.08748 ms
50th percentile service time range_with_desc_sort 6.81144 6.85883 0.0474 ms
90th percentile service time range_with_desc_sort 6.95357 6.93895 -0.01462 ms
99th percentile service time range_with_desc_sort 7.07302 7.01452 -0.05851 ms
100th percentile service time range_with_desc_sort 7.08623 7.01675 -0.06948 ms
error rate range_with_desc_sort 0 0 0 %

@atris
Copy link
Contributor

atris commented Aug 1, 2025

Great optimization idea for the no-match case.

I'm curious about the benchmark results showing slight latency increases in some composite terms scenarios. Could you help clarify:

  1. Are the 12-15ms increases within normal variance, or could this optimization be causing overhead in certain cases?
  2. Have you tested this with different cardinalities of composite terms? Would be good to ensure the optimization doesn't regress performance for high-cardinality scenarios.

For performance optimizations like this, it would be valuable to add a specific unit test that validates:

  • The fast-path is triggered correctly when weight.count() indicates no matches
  • The optimization doesn't change results, just improves performance
  • Cases where count might be misleading

The weight.count() check is a nice optimization. Are there any scenarios where weight.count() == 0 might be inaccurate? Worth documenting any assumptions about weight behavior.

Copy link
Contributor

@atris atris left a comment

Choose a reason for hiding this comment

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

Please refer to: #18866 (comment)

@sandeshkr419
Copy link
Member Author

@atris Thanks for looking into this. Let me try clarify some of your points:

Are the 12-15ms increases within normal variance, or could this optimization be causing overhead in certain cases?

I am trying to experiment a few changes. 12-15ms (2-3%) is a normal variance. Also, it compares from the baseline where some more changes might be creating noise. I'll try to isolate my change in a manual benchmark next.

This optimization is inspired from a previous optimization in GlobalOrdinalsStringTermsAggregator#178. Preferably, this will benefit workloads where a considerable proportion of segments is a match-none case, where we can short-circuit early on.

Have you tested this with different cardinalities of composite terms? Would be good to ensure the optimization doesn't regress performance for high-cardinality scenarios.

Weight is independent on cardinality of aggregation, as weight is dependent on query alone and not aggregation, so the number of composite terms is not relevant here.

For performance optimizations like this, it would be valuable to add a specific unit test that validates......

This is still in draft, will get to adding tests once I finalize on what changes are beneficial. The relevance of these draft PRs are to save manual benchmarking efforts.

The weight.count() check is a nice optimization. Are there any scenarios where weight.count() == 0 might be inaccurate? Worth documenting any assumptions about weight behavior.

So, the default implementation returns a -1 which implies that the query weight cannot be computed in linear-time. Queries which could compute the weight in linear time have an overridden implementation.

@sandeshkr419
Copy link
Member Author

Closing in favor of #18531

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants