mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Added performance test #4564
This commit is contained in:
parent
c3fabfb93f
commit
a0b6b78c01
55
dbms/tests/performance/string_sort/string_sort.xml
Normal file
55
dbms/tests/performance/string_sort/string_sort.xml
Normal file
@ -0,0 +1,55 @@
|
||||
<test>
|
||||
<name>String sorting</name>
|
||||
|
||||
<preconditions>
|
||||
<table_exists>hits_10m_single</table_exists>
|
||||
</preconditions>
|
||||
|
||||
<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>
|
||||
|
||||
<substitutions>
|
||||
<substitution>
|
||||
<name>str1</name>
|
||||
<values>
|
||||
<value>URL</value>
|
||||
<value>Referer</value>
|
||||
<value>Title</value>
|
||||
<value>SearchPhrase</value>
|
||||
<value>MobilePhoneModel</value>
|
||||
<value>PageCharset</value>
|
||||
</values>
|
||||
</substitution>
|
||||
<substitution>
|
||||
<name>str2</name>
|
||||
<values>
|
||||
<value>URL</value>
|
||||
<value>Referer</value>
|
||||
<value>Title</value>
|
||||
<value>SearchPhrase</value>
|
||||
<value>MobilePhoneModel</value>
|
||||
<value>PageCharset</value>
|
||||
</values>
|
||||
</substitution>
|
||||
</substitutions>
|
||||
|
||||
<query><![CDATA[SELECT {str1} FROM hits_10m_single ORDER BY {str1} LIMIT 10]]></query>
|
||||
<query><![CDATA[SELECT {str1} FROM hits_10m_single ORDER BY {str1} LIMIT 9000000, 10]]></query>
|
||||
|
||||
<query><![CDATA[SELECT {str1}, {str2} FROM hits_10m_single ORDER BY {str1}, {str2} LIMIT 10]]></query>
|
||||
<query><![CDATA[SELECT {str1}, {str2} FROM hits_10m_single ORDER BY {str1}, {str2} LIMIT 9000000, 10]]></query>
|
||||
|
||||
<main_metric>
|
||||
<min_time/>
|
||||
</main_metric>
|
||||
</test>
|
Loading…
Reference in New Issue
Block a user