Skip to content

Commit

Permalink
Add track for sub-bucket-aggs (#114)
Browse files Browse the repository at this point in the history
Adds a rally track specifically for testing the performance of the bucket
aggs when they are "sub" aggs.

Relates to elastic/elasticsearch#55873
  • Loading branch information
nik9000 authored and hub-cap committed Jun 2, 2020
1 parent 24a04d1 commit 1403e2b
Show file tree
Hide file tree
Showing 2 changed files with 426 additions and 1 deletion.
117 changes: 117 additions & 0 deletions noaa/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,4 +337,121 @@
"target-throughput": 1
}
]
},
{
"name": "sub-bucket-aggs",
"description": "Checks the performance of bucket aggregations under bucket aggregations",
"default": false,
"schedule": [
{
"operation": "delete-index"
},
{
"operation": {
"operation-type": "create-index",
"settings": {{index_settings | default({}) | tojson}}
}
},
{
"name": "check-cluster-health",
"operation": {
"operation-type": "cluster-health",
"index": "weather-data-2016",
"request-params": {
"wait_for_status": "{{cluster_health | default('green')}}",
"wait_for_no_relocating_shards": "true"
}
}
},
{
"operation": "index",
"#COMMENT": "This is an incredibly short warmup time period but it is necessary to get also measurement samples. As this benchmark is rather about search than indexing this is ok.",
"warmup-time-period": 10,
"clients": {{bulk_indexing_clients | default(8)}}
},
{
"name": "refresh-after-index",
"operation": "refresh",
"clients": 1
},
{
"operation": "force-merge",
"clients": 1
},
{
"name": "refresh-after-force-merge",
"operation": "refresh",
"clients": 1
},
{
"operation": "keyword-terms-numeric-terms",
"clients": 1,
"warmup-iterations": 10,
"iterations": 50,
"target-interval": 5
},
{
"operation": "numeric-terms-numeric-terms",
"clients": 1,
"warmup-iterations": 10,
"iterations": 50,
"target-interval": 3
},
{
"operation": "date-histo-numeric-terms",
"clients": 1,
"warmup-iterations": 10,
"iterations": 50,
"target-interval": 3
},
{
"operation": "date-histo-histo",
"clients": 1,
"warmup-iterations": 10,
"iterations": 50,
"target-interval": 3
},
{
"operation": "range-numeric-significant-terms",
"clients": 1,
"warmup-iterations": 10,
"iterations": 50,
"target-interval": 16
},
{
"operation": "range-date-histo",
"clients": 1,
"warmup-iterations": 10,
"iterations": 50,
"target-interval": 3
},
{
"operation": "range-date-histo-with-metrics",
"clients": 1,
"warmup-iterations": 10,
"iterations": 50,
"target-interval": 6
},
{
"operation": "range-auto-date-histo",
"clients": 1,
"warmup-iterations": 10,
"iterations": 50,
"target-interval": 3
},
{
"operation": "range-auto-date-histo-with-metrics",
"clients": 1,
"warmup-iterations": 10,
"iterations": 50,
"target-interval": 6
},
{
"operation": "range-auto-date-histo-with-time-zone",
"clients": 1,
"warmup-iterations": 10,
"iterations": 50,
"target-interval": 7
}
]
}
Loading

0 comments on commit 1403e2b

Please sign in to comment.