Skip to content

Commit

Permalink
Add target throughput and search clients parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
engechas committed Oct 8, 2021
1 parent 8af75cd commit cb06804
Showing 1 changed file with 55 additions and 15 deletions.
70 changes: 55 additions & 15 deletions nyc_taxis/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,33 +54,73 @@
{
"operation": "default",
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 3
},
"iterations": 100
{%- if not target_throughput %}
,"target-throughput": 3
{%- elif target_throughput is string and target_throughput.lower() == 'none' %}
{%- else %}
,"target-throughput": {{ target_throughput | tojson }}
{%- endif %}
{%- if search_clients is defined %}
,"clients": {{ search_clients | tojson}}
{%- endif %}
},
{
"operation": "range",
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 0.7
},
"iterations": 100
{%- if not target_throughput %}
,"target-throughput": 0.7
{%- elif target_throughput is string and target_throughput.lower() == 'none' %}
{%- else %}
,"target-throughput": {{ target_throughput | tojson }}
{%- endif %}
{%- if search_clients is defined %}
,"clients": {{ search_clients | tojson}}
{%- endif %}
},
{
"operation": "distance_amount_agg",
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 2
},
"iterations": 100
{%- if not target_throughput %}
,"target-throughput": 2
{%- elif target_throughput is string and target_throughput.lower() == 'none' %}
{%- else %}
,"target-throughput": {{ target_throughput | tojson }}
{%- endif %}
{%- if search_clients is defined %}
,"clients": {{ search_clients | tojson}}
{%- endif %}
},
{
"operation": "autohisto_agg",
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 1.5
},
"iterations": 100
{%- if not target_throughput %}
,"target-throughput": 1.5
{%- elif target_throughput is string and target_throughput.lower() == 'none' %}
{%- else %}
,"target-throughput": {{ target_throughput | tojson }}
{%- endif %}
{%- if search_clients is defined %}
,"clients": {{ search_clients | tojson}}
{%- endif %}
},
{
"operation": "date_histogram_agg",
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 1.5
}
"iterations": 100
{%- if not target_throughput %}
,"target-throughput": 1.5
{%- elif target_throughput is string and target_throughput.lower() == 'none' %}
{%- else %}
,"target-throughput": {{ target_throughput | tojson }}
{%- endif %}
{%- if search_clients is defined %}
,"clients": {{ search_clients | tojson}}
{%- endif %}
}
]
},
{
Expand Down

0 comments on commit cb06804

Please sign in to comment.