Skip to content

Commit

Permalink
add configurable throughput + client parameters to the pmc workload (#…
Browse files Browse the repository at this point in the history
…426) (#428)

(cherry picked from commit 05c8dfd)

Signed-off-by: Michael Oviedo <mikeovi@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 39cacf1 commit 587fe42
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions pmc/test_procedures/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,43 +72,43 @@
"operation": "default",
"warmup-iterations": 500,
"iterations": 200,
"target-throughput": {{ target_throughput | default(20) | tojson }},
"clients": {{ search_clients | default(1) }}
"target-throughput": {{ default_target_throughput or target_throughput | default(20) | tojson }},
"clients": {{ default_search_clients or search_clients | default(1) }}
},
{
"operation": "term",
"warmup-iterations": 500,
"iterations": 200,
"target-throughput": {{ target_throughput | default(20) | tojson }},
"clients": {{ search_clients | default(1) }}
"target-throughput": {{ term_target_throughput or target_throughput | default(20) | tojson }},
"clients": {{ term_search_clients or search_clients | default(1) }}
},
{
"operation": "phrase",
"warmup-iterations": 500,
"iterations": 200,
"target-throughput": {{ target_throughput | default(20) | tojson }},
"clients": {{ search_clients | default(1) }}
"target-throughput": {{ phrase_target_throughput or target_throughput | default(20) | tojson }},
"clients": {{ phrase_search_clients or search_clients | default(1) }}
},
{
"operation": "articles_monthly_agg_uncached",
"warmup-iterations": 500,
"iterations": 200,
"target-throughput": {{ target_throughput | default(20) | tojson }},
"clients": {{ search_clients | default(1) }}
"target-throughput": {{ articles_monthly_agg_uncached_target_throughput or target_throughput | default(20) | tojson }},
"clients": {{ articles_monthly_agg_uncached_search_clients or search_clients | default(1) }}
},
{
"operation": "articles_monthly_agg_cached",
"warmup-iterations": 500,
"iterations": 200,
"target-throughput": {{ target_throughput | default(20) | tojson }},
"clients": {{ search_clients | default(1) }}
"target-throughput": {{ articles_monthly_agg_cached_target_throughput or target_throughput | default(20) | tojson }},
"clients": {{ articles_monthly_agg_cached_search_clients or search_clients | default(1) }}
},
{
"operation": "scroll",
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": {{ target_throughput | default(0.5) | tojson }},
"clients": {{ search_clients | default(1) }}
"target-throughput": {{ scroll_target_throughput or target_throughput | default(0.5) | tojson }},
"clients": {{ scroll_search_clients or search_clients | default(1) }}
}
]
},
Expand Down
24 changes: 12 additions & 12 deletions pmc/test_procedures/indexing-querying.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,43 +92,43 @@
"operation": "default",
"warmup-iterations": 500,
"iterations": 200,
"target-throughput": {{ target_throughput | default(20) | tojson }},
"clients": {{ search_clients | default(1) }}
"target-throughput": {{ default_target_throughput or target_throughput | default(20) | tojson }},
"clients": {{ default_search_clients or search_clients | default(1) }}
},
{
"operation": "term",
"warmup-iterations": 500,
"iterations": 200,
"target-throughput": {{ target_throughput | default(20) | tojson }},
"clients": {{ search_clients | default(1) }}
"target-throughput": {{ term_target_throughput or target_throughput | default(20) | tojson }},
"clients": {{ term_search_clients or search_clients | default(1) }}
},
{
"operation": "phrase",
"warmup-iterations": 500,
"iterations": 200,
"target-throughput": {{ target_throughput | default(20) | tojson }},
"clients": {{ search_clients | default(1) }}
"target-throughput": {{ phrase_target_throughput or target_throughput | default(20) | tojson }},
"clients": {{ phrase_search_clients or search_clients | default(1) }}
},
{
"operation": "articles_monthly_agg_uncached",
"warmup-iterations": 500,
"iterations": 200,
"target-throughput": {{ target_throughput | default(20) | tojson }},
"clients": {{ search_clients | default(1) }}
"target-throughput": {{ articles_monthly_agg_uncached_target_throughput or target_throughput | default(20) | tojson }},
"clients": {{ articles_monthly_agg_uncached_search_clients or search_clients | default(1) }}
},
{
"operation": "articles_monthly_agg_cached",
"warmup-iterations": 500,
"iterations": 200,
"target-throughput": {{ target_throughput | default(20) | tojson }},
"clients": {{ search_clients | default(1) }}
"target-throughput": {{ articles_monthly_agg_cached_target_throughput or target_throughput | default(20) | tojson }},
"clients": {{ articles_monthly_agg_cached_search_clients or search_clients | default(1) }}
},
{
"operation": "scroll",
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": {{ target_throughput | default(0.5) | tojson }},
"clients": {{ search_clients | default(1) }}
"target-throughput": {{ scroll_target_throughput or target_throughput | default(0.5) | tojson }},
"clients": {{ scroll_search_clients or search_clients | default(1) }}
}
]
}
Expand Down

0 comments on commit 587fe42

Please sign in to comment.