Add perf test

This commit is contained in:
Anastasiya Rodigina 2019-05-26 12:54:13 +00:00
parent 65615aaed3
commit 02af357fe4

View File

@ -0,0 +1,34 @@
<test>
<name>order_by_pk_order</name>
<type>loop</type>
<stop_conditions>
<all_of>
<iterations>5</iterations>
<min_time_not_changing_for_ms>10000</min_time_not_changing_for_ms>
</all_of>
<any_of>
<iterations>50</iterations>
<total_time_ms>60000</total_time_ms>
</any_of>
</stop_conditions>
<metrics>
<max_rows_per_second />
<max_bytes_per_second />
<avg_rows_per_second />
<avg_bytes_per_second />
<min_time />
</metrics>
<main_metric>
<min_time />
</main_metric>
<preconditions>
<table_exists>test.hits</table_exists>
</preconditions>
<query>SELECT DISTINCT CounterID FROM test.hits ORDER BY CounterID DESC LIMIT 50</query>
</test>