mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Add perf test
This commit is contained in:
parent
65615aaed3
commit
02af357fe4
34
dbms/tests/performance/order_by_pk_order.xml
Normal file
34
dbms/tests/performance/order_by_pk_order.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user