Skip to content

Commit

Permalink
add configurable iterations + warmup iterations to the pmc workload (#…
Browse files Browse the repository at this point in the history
…452) (#468)

(cherry picked from commit 9fcad56)

Signed-off-by: Michael Oviedo <[email protected]>
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 6e259b7 commit 849daad
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions pmc/test_procedures/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,43 +70,43 @@
},
{
"operation": "default",
"warmup-iterations": 500,
"iterations": 200,
"warmup-iterations": {{ default_warmup_iterations or warmup_iterations | default(500) | tojson }},
"iterations": {{ default_iterations or iterations | default(200) | tojson }},
"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,
"warmup-iterations": {{ term_warmup_iterations or warmup_iterations | default(500) | tojson }},
"iterations": {{ term_iterations or iterations | default(200) | tojson }},
"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,
"warmup-iterations": {{ phrase_warmup_iterations or warmup_iterations | default(500) | tojson }},
"iterations": {{ phrase_iterations or iterations | default(200) | tojson }},
"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,
"warmup-iterations": {{ articles_monthly_agg_uncached_warmup_iterations or warmup_iterations | default(500) | tojson }},
"iterations": {{ articles_monthly_agg_uncached_iterations or iterations | default(200) | tojson }},
"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,
"warmup-iterations": {{ articles_monthly_agg_cached_warmup_iterations or warmup_iterations | default(500) | tojson }},
"iterations": {{ articles_monthly_agg_cached_iterations or iterations | default(200) | tojson }},
"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,
"warmup-iterations": {{ scroll_warmup_iterations or warmup_iterations | default(50) | tojson }},
"iterations": {{ scroll_iterations or iterations | default(100) | tojson }},
"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 849daad

Please sign in to comment.